forked from mirror/misskey
refactor: avoid redundant method chain
This commit is contained in:
parent
a8cd8ed99e
commit
c9b9db13c7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user