[offers][chore] Removed specialization

pull/501/head
Bryann Yeap Kok Keong 3 years ago committed by Stuart Long Chay Boon
parent a91daa4909
commit f258ac1dd5

@ -42,12 +42,6 @@ function xlSerialToJsDate(xlSerial) {
return new Date(Date.UTC(0, 0, xlSerial - 1));
}
function generateSpecialization() {
const specializations = ['Frontend', 'Backend', 'Fullstack'];
return specializations[Math.floor(Math.random() * 300) % 3];
}
const getJobTitle = (role: string) => {
const processedRole = role.toUpperCase().trim();
@ -145,7 +139,6 @@ const seedSalaries = async () => {
value: data.Income,
},
},
specialization: generateSpecialization(), // TODO: check about this
startYear: xlSerialToJsDate(
data.Timestamp,
).getFullYear(),
@ -218,7 +211,6 @@ const seedSalaries = async () => {
},
},
level: data.Type,
specialization: generateSpecialization(), // TODO: check about this
stocks: {
create: {
baseCurrency: baseCurrencyString,

Loading…
Cancel
Save