From 5aae2824efe976bdf215af15ffe355670ad5702a Mon Sep 17 00:00:00 2001 From: rishalkv Date: Tue, 26 May 2026 12:36:11 +0530 Subject: [PATCH] fix: edge case creation of og --- backend/src/controllers/doctor.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/controllers/doctor.controller.js b/backend/src/controllers/doctor.controller.js index e086e53..6aaf948 100644 --- a/backend/src/controllers/doctor.controller.js +++ b/backend/src/controllers/doctor.controller.js @@ -443,9 +443,9 @@ export const updateDoctor = async (req, res) => { const seo = await prisma.seo.create({ data: { ogImage, + metaDescription, seoTitle, - metaDescription, - metaDescription, + ogDescription, ogTitle, focusKeyphrase, slug: slug ? slug : null,