diff --git a/.changeset/publish-restamp-crash.md b/.changeset/publish-restamp-crash.md new file mode 100644 index 0000000000..d6b38a34e0 --- /dev/null +++ b/.changeset/publish-restamp-crash.md @@ -0,0 +1,5 @@ +--- +"emdash": patch +--- + +Fixes a crash that made publishing content fail with an internal error. diff --git a/packages/core/src/database/repositories/content.ts b/packages/core/src/database/repositories/content.ts index b554e6b021..11c5fd4d37 100644 --- a/packages/core/src/database/repositories/content.ts +++ b/packages/core/src/database/repositories/content.ts @@ -1622,7 +1622,6 @@ export class ContentRepository { } invalidateCollectionCache(type); - await this.restampEntryPivot(type, id); const updated = await this.findById(type, id); if (!updated) throw new Error("Content not found"); return updated;