newStaffLDB-API #48

Merged
fred.boniface merged 85 commits from newStaffLDB-API into main 2023-10-03 21:35:03 +01:00
Showing only changes of commit 3590b15a69 - Show all commits

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) {