1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 22:38:30 +09:00

refactor: avoid redundant method chain

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-07-21 10:07:03 +00:00 committed by GitHub
parent a8cd8ed99e
commit c9b9db13c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ export class QueueService {
removeOnFail: true,
};
await this.deliverQueue.addBulk(Array.from(inboxes.entries()).map(d => ({
await this.deliverQueue.addBulk(Array.from(inboxes.entries(), d => ({
name: d[0],
data: {
user,