Remove map gets, not working
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
011da17f0c
commit
3590b15a69
@ -31,7 +31,7 @@ async function get(id, staff = false) {
|
||||
log.out(`ldbService.get: Error, Unable to find CRS: ${err}`, "info");
|
||||
return {
|
||||
obStatus: "LOC_NOT_FOUND",
|
||||
obMsg: msgCodes.get("LOC_NOT_FOUND"),
|
||||
obMsg: "UNABLE TO FIND MESSAGE",
|
||||
};
|
||||
}
|
||||
}
|
||||
@ -81,7 +81,7 @@ async function arrDepBoardStaff(CRS) {
|
||||
console.log(JSON.stringify(_staffLdb));
|
||||
return {
|
||||
obStatus: "OK",
|
||||
obMsg: msgCodes.get("OK"),
|
||||
obMsg: "OK",
|
||||
data: _staffLdb,
|
||||
};
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user