+1
-1
src/firehose.ts
+1
-1
src/firehose.ts
···
24
24
25
25
if (!config.record_types.includes(collection)) return;
26
26
27
-
if (opType === "create" || opType === "edit") {
27
+
if (opType === "create" || opType === "update") {
28
28
await indexDocument(config, aturi, record, cid, indexedAt);
29
29
} else if (opType === "delete") {
30
30
await deleteDocument(config, aturi);