From 3590b15a69231d2d2c056761561b113173c5515e Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 21 Sep 2023 20:12:35 +0100 Subject: [PATCH] Remove map gets, not working Signed-off-by: Fred Boniface --- src/services/ldb.services.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/ldb.services.js b/src/services/ldb.services.js index 8903356..c7bb413 100644 --- a/src/services/ldb.services.js +++ b/src/services/ldb.services.js @@ -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) {