From 4beb3e5755b9fe988b7dba9d9d5b1f64f66e3b1a Mon Sep 17 00:00:00 2001 From: tamaina Date: Thu, 18 Apr 2019 20:46:59 +0900 Subject: [PATCH] Fix #4734 (#4745) --- src/models/repositories/app.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/repositories/app.ts b/src/models/repositories/app.ts index 9266e43cd..fa5ebf2ac 100644 --- a/src/models/repositories/app.ts +++ b/src/models/repositories/app.ts @@ -26,6 +26,7 @@ export class AppRepository extends Repository { id: app.id, name: app.name, callbackUrl: app.callbackUrl, + permission: app.permission, ...(opts.includeSecret ? { secret: app.secret } : {}), ...(me ? { isAuthorized: await AccessTokens.count({