[offers][fix] fix create offer bug

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

@ -680,10 +680,8 @@ 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,
negotiationStrategy: x.negotiationStrategy, negotiationStrategy: x.negotiationStrategy,
@ -726,10 +724,8 @@ 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,
negotiationStrategy: x.negotiationStrategy, negotiationStrategy: x.negotiationStrategy,

Loading…
Cancel
Save