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