|
|
|
@ -79,9 +79,9 @@ export async function getExec(fileName: string, convert = true) { |
|
|
|
|
"05": "Systems Administrator", |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const lastName = |
|
|
|
|
fileName.split("-")[1][0].toUpperCase() + fileName.split("-")[1].slice(1); |
|
|
|
|
const firstName = |
|
|
|
|
fileName.split("-")[1][0].toUpperCase() + fileName.split("-")[1].slice(1); |
|
|
|
|
const lastName = |
|
|
|
|
fileName.split("-")[2][0].toUpperCase() + fileName.split("-")[2].slice(1); |
|
|
|
|
const posOrder = fileName.split("-")[0]; |
|
|
|
|
const pos = posDict[posOrder]; |
|
|
|
@ -104,7 +104,7 @@ export async function getExec(fileName: string, convert = true) { |
|
|
|
|
({ content, metadata } = { |
|
|
|
|
content: "Coming soon!", |
|
|
|
|
metadata: { |
|
|
|
|
name: `${lastName} ${firstName}`, |
|
|
|
|
name: `${firstName} ${lastName}`, |
|
|
|
|
role: `${pos}`, |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|