autoblogger 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1328,7 +1328,7 @@ function createPostsData(prisma, hooks) {
1328
1328
  return result;
1329
1329
  },
1330
1330
  async update(id, data) {
1331
- const { tagIds, ...postData } = data;
1331
+ const { tagIds, tags, revisions, topic, ...postData } = data;
1332
1332
  if (postData.status === "published") {
1333
1333
  const existing = await prisma.post.findUnique({ where: { id } });
1334
1334
  if (existing?.status !== "published") {