diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2019-04-18 20:46:59 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-04-18 20:46:59 +0900 |
| commit | 4beb3e5755b9fe988b7dba9d9d5b1f64f66e3b1a (patch) | |
| tree | 1c171661ff59362b82cad4eed84e555cac1cafc1 /src | |
| parent | Update timemachine.vue (diff) | |
| download | misskey-4beb3e5755b9fe988b7dba9d9d5b1f64f66e3b1a.tar.gz misskey-4beb3e5755b9fe988b7dba9d9d5b1f64f66e3b1a.tar.bz2 misskey-4beb3e5755b9fe988b7dba9d9d5b1f64f66e3b1a.zip | |
Fix #4734 (#4745)
Diffstat (limited to 'src')
| -rw-r--r-- | src/models/repositories/app.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/repositories/app.ts b/src/models/repositories/app.ts index 9266e43cdc..fa5ebf2ac7 100644 --- a/src/models/repositories/app.ts +++ b/src/models/repositories/app.ts @@ -26,6 +26,7 @@ export class AppRepository extends Repository<App> { id: app.id, name: app.name, callbackUrl: app.callbackUrl, + permission: app.permission, ...(opts.includeSecret ? { secret: app.secret } : {}), ...(me ? { isAuthorized: await AccessTokens.count({ |