callbackUrlをappのレスポンスに追加 (#4686)

This commit is contained in:
rinsuki 2019-04-15 03:39:31 +09:00 committed by syuilo
parent 35c79c2f29
commit 0565454419
1 changed files with 1 additions and 0 deletions

View File

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