[offers][fix] fix create offer bug

pull/496/head
Stuart Long Chay Boon 2 years ago
parent c76607acfe
commit 7419cb4608

@ -680,9 +680,7 @@ export const offersProfileRouter = createRouter()
jobType: x.jobType, jobType: x.jobType,
location: { location: {
connect: { connect: {
where: { id: x.cityId
id: x.cityId
}
} }
}, },
monthYearReceived: x.monthYearReceived, monthYearReceived: x.monthYearReceived,
@ -726,9 +724,7 @@ export const offersProfileRouter = createRouter()
jobType: x.jobType, jobType: x.jobType,
location: { location: {
connect: { connect: {
where: { id: x.cityId
id: x.cityId
}
} }
}, },
monthYearReceived: x.monthYearReceived, monthYearReceived: x.monthYearReceived,

Loading…
Cancel
Save