callbackUrlをappのレスポンスに追加 (#4686)
This commit is contained in:
parent
35c79c2f29
commit
0565454419
|
@ -25,6 +25,7 @@ export class AppRepository extends Repository<App> {
|
||||||
return {
|
return {
|
||||||
id: app.id,
|
id: app.id,
|
||||||
name: app.name,
|
name: app.name,
|
||||||
|
callbackUrl: app.callbackUrl,
|
||||||
...(opts.includeSecret ? { secret: app.secret } : {}),
|
...(opts.includeSecret ? { secret: app.secret } : {}),
|
||||||
...(me ? {
|
...(me ? {
|
||||||
isAuthorized: await AccessTokens.count({
|
isAuthorized: await AccessTokens.count({
|
||||||
|
|
Loading…
Reference in a new issue