This commit is contained in:
tamaina 2019-04-18 20:46:59 +09:00 committed by syuilo
parent 55f63229cd
commit 4beb3e5755
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ export class AppRepository extends Repository<App> {
id: app.id, id: app.id,
name: app.name, name: app.name,
callbackUrl: app.callbackUrl, callbackUrl: app.callbackUrl,
permission: app.permission,
...(opts.includeSecret ? { secret: app.secret } : {}), ...(opts.includeSecret ? { secret: app.secret } : {}),
...(me ? { ...(me ? {
isAuthorized: await AccessTokens.count({ isAuthorized: await AccessTokens.count({