|
|
|
@ -351,11 +351,9 @@ export const offersProfileRouter = createRouter()
|
|
|
|
|
level: x.level,
|
|
|
|
|
location: {
|
|
|
|
|
connect: {
|
|
|
|
|
where: {
|
|
|
|
|
id: x.cityId,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
title: x.title,
|
|
|
|
|
totalCompensation:
|
|
|
|
|
x.totalCompensation != null
|
|
|
|
@ -409,11 +407,9 @@ export const offersProfileRouter = createRouter()
|
|
|
|
|
jobType: x.jobType,
|
|
|
|
|
location: {
|
|
|
|
|
connect: {
|
|
|
|
|
where: {
|
|
|
|
|
id: x.cityId,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
monthlySalary:
|
|
|
|
|
x.monthlySalary != null
|
|
|
|
|
? {
|
|
|
|
@ -463,9 +459,9 @@ export const offersProfileRouter = createRouter()
|
|
|
|
|
return {
|
|
|
|
|
durationInMonths: x.durationInMonths,
|
|
|
|
|
jobType: x.jobType,
|
|
|
|
|
location: {
|
|
|
|
|
location: {
|
|
|
|
|
connect: {
|
|
|
|
|
where: {
|
|
|
|
|
id: x.cityId,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|