mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-04-26 19:42:32 +08:00
[offers][fix] Refactor and fix offer analysis (#413)
This commit is contained in:
@@ -285,7 +285,6 @@ export const offersAnalysisRouter = createRouter()
|
||||
OR: [
|
||||
{
|
||||
offersFullTime: {
|
||||
level: overallHighestOffer.offersFullTime?.level,
|
||||
title: overallHighestOffer.offersFullTime?.title,
|
||||
},
|
||||
offersIntern: {
|
||||
|
||||
@@ -385,7 +385,7 @@ export const offersProfileRouter = createRouter()
|
||||
|
||||
throw new trpc.TRPCError({
|
||||
code: 'BAD_REQUEST',
|
||||
message: 'Missing fields.',
|
||||
message: 'Missing fields in background experiences.',
|
||||
});
|
||||
}),
|
||||
},
|
||||
@@ -533,7 +533,7 @@ export const offersProfileRouter = createRouter()
|
||||
// Throw error
|
||||
throw new trpc.TRPCError({
|
||||
code: 'BAD_REQUEST',
|
||||
message: 'Missing fields.',
|
||||
message: 'Missing fields in offers.',
|
||||
});
|
||||
}),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user