forked from FoundKeyGang/FoundKey
parent
55f63229cd
commit
4beb3e5755
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ export class AppRepository extends Repository<App> {
|
||||||
id: app.id,
|
id: app.id,
|
||||||
name: app.name,
|
name: app.name,
|
||||||
callbackUrl: app.callbackUrl,
|
callbackUrl: app.callbackUrl,
|
||||||
|
permission: app.permission,
|
||||||
...(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