IO-3166-Global-Notifications-Part-2 - Checkpoint
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user