Remove map gets, not working

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-09-21 20:12:35 +01:00
parent 011da17f0c
commit 3590b15a69

View File

@ -31,7 +31,7 @@ async function get(id, staff = false) {
log.out(`ldbService.get: Error, Unable to find CRS: ${err}`, "info"); log.out(`ldbService.get: Error, Unable to find CRS: ${err}`, "info");
return { return {
obStatus: "LOC_NOT_FOUND", 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)); console.log(JSON.stringify(_staffLdb));
return { return {
obStatus: "OK", obStatus: "OK",
obMsg: msgCodes.get("OK"), obMsg: "OK",
data: _staffLdb, data: _staffLdb,
}; };
} catch (err) { } catch (err) {