From 321dffcba0f6481cd92d971ca41dc3cf6e5cff69 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({