mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 08:53:09 +02:00
refactor: avoid redundant method chain
This commit is contained in:
parent
a8cd8ed99e
commit
c9b9db13c7
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ export class QueueService {
|
||||||
removeOnFail: true,
|
removeOnFail: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
await this.deliverQueue.addBulk(Array.from(inboxes.entries()).map(d => ({
|
await this.deliverQueue.addBulk(Array.from(inboxes.entries(), d => ({
|
||||||
name: d[0],
|
name: d[0],
|
||||||
data: {
|
data: {
|
||||||
user,
|
user,
|
||||||
|
|
Loading…
Reference in a new issue