feat: seo preview #44

Merged
kailasdevdas merged 11 commits from feat/healthcheck-seo into dev 2026-05-26 07:33:40 +00:00
Showing only changes of commit c2b54725fe - Show all commits
@@ -357,8 +357,10 @@ export const updateDoctor = async (req, res) => {
focusKeyphrase,
slug,
tags,
ogImage,
specializations,
} = req.body;
if (!doctorId) {
return res.status(400).json({
success: false,
@@ -427,6 +429,7 @@ export const updateDoctor = async (req, res) => {
data: {
seoTitle,
metaDescription,
ogImage,
focusKeyphrase,
slug: slug ? slug : null,
tags: tags || [],
@@ -435,6 +438,7 @@ export const updateDoctor = async (req, res) => {
} else {
const seo = await prisma.seo.create({
data: {
ogImage,
seoTitle,
metaDescription,
focusKeyphrase,