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

This commit is contained in:
rinsuki 2019-04-15 03:39:31 +09:00 committed by syuilo
parent 6e149dbd21
commit ce6377774d

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