mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-02-03 02:24:47 +08:00
[offers][fix] Fix adding location to experience when creating offer profiles
This commit is contained in:
@@ -351,9 +351,7 @@ export const offersProfileRouter = createRouter()
|
||||
level: x.level,
|
||||
location: {
|
||||
connect: {
|
||||
where: {
|
||||
id: x.cityId,
|
||||
},
|
||||
id: x.cityId,
|
||||
},
|
||||
},
|
||||
title: x.title,
|
||||
@@ -409,9 +407,7 @@ export const offersProfileRouter = createRouter()
|
||||
jobType: x.jobType,
|
||||
location: {
|
||||
connect: {
|
||||
where: {
|
||||
id: x.cityId,
|
||||
},
|
||||
id: x.cityId,
|
||||
},
|
||||
},
|
||||
monthlySalary:
|
||||
@@ -464,8 +460,8 @@ export const offersProfileRouter = createRouter()
|
||||
durationInMonths: x.durationInMonths,
|
||||
jobType: x.jobType,
|
||||
location: {
|
||||
connect: {
|
||||
where: {
|
||||
location: {
|
||||
connect: {
|
||||
id: x.cityId,
|
||||
},
|
||||
},
|
||||
@@ -2218,4 +2214,4 @@ export const offersProfileRouter = createRouter()
|
||||
message: 'Invalid token.',
|
||||
});
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user