diff --git a/server/core/src/fulltext.ts b/server/core/src/fulltext.ts index f60a88de37..1a6dd7950c 100644 --- a/server/core/src/fulltext.ts +++ b/server/core/src/fulltext.ts @@ -113,8 +113,8 @@ export class FullTextIndex extends TxProcessor implements Storage { if (ops[attr.name] !== undefined) { update[`content${i}`] = ops[attr.name] shouldUpdate = true - i++ } + i++ } if (shouldUpdate) { return await this.adapter.update(tx.objectId, update)