mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 19:13:09 +02:00
callbackUrlをappのレスポンスに追加 (#4686)
This commit is contained in:
parent
35c79c2f29
commit
0565454419
1 changed files with 1 additions and 0 deletions
|
@ -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