IO-3166-Global-Notifications-Part-2 - Checkpoint

This commit is contained in:
Dave Richer
2025-03-06 13:36:19 -05:00
parent 21335d4e8c
commit 53580fbc78
9 changed files with 166 additions and 50 deletions

View File

@@ -26,6 +26,17 @@ const getJobAssignmentType = (data) => {
}
};
module.exports = {
getJobAssignmentType
const formatTaskPriority = (priority) => {
if (priority === 1) {
return "High";
} else if (priority === 3) {
return "Low";
} else {
return "Medium";
}
};
module.exports = {
getJobAssignmentType,
formatTaskPriority
};