This commit is contained in:
tamaina 2019-04-18 20:46:59 +09:00 committed by syuilo
parent 55f63229cd
commit 4beb3e5755

View File

@ -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({