Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f44cc8de88 | |||
| 5f404bb2fb |
@@ -354,8 +354,6 @@ export const updateDoctor = async (req, res) => {
|
||||
professionalSummary,
|
||||
seoTitle,
|
||||
metaDescription,
|
||||
ogTitle,
|
||||
ogDescription,
|
||||
focusKeyphrase,
|
||||
slug,
|
||||
tags,
|
||||
@@ -431,8 +429,6 @@ export const updateDoctor = async (req, res) => {
|
||||
data: {
|
||||
seoTitle,
|
||||
metaDescription,
|
||||
ogTitle,
|
||||
ogDescription,
|
||||
ogImage,
|
||||
focusKeyphrase,
|
||||
slug: slug ? slug : null,
|
||||
@@ -443,10 +439,8 @@ export const updateDoctor = async (req, res) => {
|
||||
const seo = await prisma.seo.create({
|
||||
data: {
|
||||
ogImage,
|
||||
metaDescription,
|
||||
seoTitle,
|
||||
ogDescription,
|
||||
ogTitle,
|
||||
metaDescription,
|
||||
focusKeyphrase,
|
||||
slug: slug ? slug : null,
|
||||
tags: tags || [],
|
||||
|
||||
Reference in New Issue
Block a user