newStaffLDB-API #48
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user