diff --git a/app/src/Apps/wix_blog.ts b/app/src/Apps/wix_blog.ts index 1be17398..e213784c 100644 --- a/app/src/Apps/wix_blog.ts +++ b/app/src/Apps/wix_blog.ts @@ -297,7 +297,7 @@ async function getBlogCategoryData(categoryId: string): Promise { } 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) {