Skip to content

Commit 8255df4

Browse files
committed
fix: event update name
1 parent bdab717 commit 8255df4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/entity.service.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,10 @@ export abstract class EntityService<
133133
let operation: EventType | undefined;
134134
if (operationType === 'insert') {
135135
operation = 'create';
136-
} else if (operationType === 'replace') {
136+
} else if (
137+
operationType === 'replace' ||
138+
operationType === 'update'
139+
) {
137140
operation = 'update';
138141
} else if (operationType === 'delete') {
139142
operation = 'delete';

0 commit comments

Comments
 (0)