Skip to content

Commit

Permalink
ID BUG Fix Reverted (this is a Wix BUG)
Browse files Browse the repository at this point in the history
  • Loading branch information
loeiks committed Jul 19, 2024
1 parent e268cce commit 648dda8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/Apps/wix_blog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ async function getBlogCategoryData(categoryId: string): Promise<Document> {
}

const blogCategory = await wixData.get("Blog/Categories", categoryId, { suppressAuth: true, consistentRead: true });
const readyBlogCategory = { ...blogCategory, entityId: categoryId };
const readyBlogCategory = { ...blogCategory, entityId: blogCategory._id };
delete readyBlogCategory._id;
return readyBlogCategory;
} catch (err) {
Expand Down

0 comments on commit 648dda8

Please sign in to comment.