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 ad1afc10c7 - Show all commits

View File

@ -78,7 +78,11 @@ async function arrDepBoardStaff(CRS) {
const _staffLdb = staffStationTransform(result); const _staffLdb = staffStationTransform(result);
console.log("Transformation Test Successful"); console.log("Transformation Test Successful");
console.log(JSON.stringify(_staffLdb)); console.log(JSON.stringify(_staffLdb));
return _staffLdb; return {
obStatus: 200,
obMsg: "success",
data: _staffLdb,
};
} catch (err) { } catch (err) {
console.log("Transformation Test Failed: " + err); console.log("Transformation Test Failed: " + err);
} }