[offers][chore] Make totalYoe compulsory in create offer profile API

This commit is contained in:
BryannYeap
2022-10-13 00:08:07 +08:00
parent d1fa6c6170
commit 29af9f692f
3 changed files with 7 additions and 7 deletions

View File

@@ -144,7 +144,7 @@ export const offersProfileRouter = createRouter()
yoe: z.number(),
}),
),
totalYoe: z.number().optional(),
totalYoe: z.number(),
}),
offers: z.array(offer),
}),