mirror of
https://github.com/sim1222/misskey.git
synced 2025-07-14 06:39:56 +09:00
SchemaTypeの型計算量を削減 (#8332)
* schema typeの型計算量を削減 * reduce some type error * wip * fix * clean up * more shrink
This commit is contained in:
@ -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),
|
||||
} : {}),
|
||||
};
|
||||
|
Reference in New Issue
Block a user