We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e35c334 commit 23d380cCopy full SHA for 23d380c
packages/outbox-core/lib/accumulators.ts
@@ -46,13 +46,13 @@ export class InMemoryOutboxAccumulator<SupportedEvents extends CommonEventDefini
46
private failedEntries: OutboxEntry<SupportedEvents[number]>[] = []
47
48
public add(outboxEntry: OutboxEntry<SupportedEvents[number]>) {
49
- this.entries = [...this.entries, outboxEntry]
+ this.entries.push(outboxEntry)
50
51
return Promise.resolve()
52
}
53
54
public addFailure(outboxEntry: OutboxEntry<SupportedEvents[number]>) {
55
- this.failedEntries = [...this.failedEntries, outboxEntry]
+ this.failedEntries.push(outboxEntry)
56
57
58
0 commit comments