From 648dda86e18b700a196850e174d7f24d9f5785b3 Mon Sep 17 00:00:00 2001 From: Enes Date: Fri, 19 Jul 2024 18:33:17 +0300 Subject: [PATCH] ID BUG Fix Reverted (this is a Wix BUG) --- app/src/Apps/wix_blog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {