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