Skip to content

Commit e5ba6cf

Browse files
committed
Refactor BackendsService to include payload spread and remove payload property
1 parent 4dda5db commit e5ba6cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/backends/backends.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ export class BackendsService extends AbstractQueueProcessor {
198198
const job = await this.queue.add(
199199
actionType,
200200
{
201+
...payload,
201202
concernedTo,
202-
payload,
203203
},
204204
options?.job,
205205
);

0 commit comments

Comments
 (0)