Compare commits

..

2 Commits

Author SHA1 Message Date
rishalkv f44cc8de88 chore: remove console logs 2026-05-26 11:55:28 +05:30
rishalkv 5f404bb2fb fix: og image update 2026-05-26 11:52:29 +05:30
+1 -7
View File
@@ -354,8 +354,6 @@ export const updateDoctor = async (req, res) => {
professionalSummary, professionalSummary,
seoTitle, seoTitle,
metaDescription, metaDescription,
ogTitle,
ogDescription,
focusKeyphrase, focusKeyphrase,
slug, slug,
tags, tags,
@@ -431,8 +429,6 @@ export const updateDoctor = async (req, res) => {
data: { data: {
seoTitle, seoTitle,
metaDescription, metaDescription,
ogTitle,
ogDescription,
ogImage, ogImage,
focusKeyphrase, focusKeyphrase,
slug: slug ? slug : null, slug: slug ? slug : null,
@@ -443,10 +439,8 @@ export const updateDoctor = async (req, res) => {
const seo = await prisma.seo.create({ const seo = await prisma.seo.create({
data: { data: {
ogImage, ogImage,
metaDescription,
seoTitle, seoTitle,
ogDescription, metaDescription,
ogTitle,
focusKeyphrase, focusKeyphrase,
slug: slug ? slug : null, slug: slug ? slug : null,
tags: tags || [], tags: tags || [],