mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 19:05:55 +02:00
Clean up
This commit is contained in:
@@ -34,6 +34,7 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
|
||||
});
|
||||
|
||||
// Serialize
|
||||
res(await Promise.all(tokens.map(async token =>
|
||||
await pack(token.appId))));
|
||||
res(await Promise.all(tokens.map(token => pack(token.appId, user, {
|
||||
detail: true
|
||||
}))));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user