SchemaTypeの型計算量を削減 (#8332)
* schema typeの型計算量を削減 * reduce some type error * wip * fix * clean up * more shrink
This commit is contained in:
parent
b6db709e02
commit
fd8f8162e1
9 changed files with 57 additions and 105 deletions
|
@ -32,7 +32,7 @@ export class AppRepository extends Repository<App> {
|
|||
...(me ? {
|
||||
isAuthorized: await AccessTokens.count({
|
||||
appId: app.id,
|
||||
userId: me,
|
||||
userId: me.id,
|
||||
}).then(count => count > 0),
|
||||
} : {}),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue