Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar committed Sep 7, 2023
1 parent 64894da commit 1dfa09f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/automation/helper/getMonitorCoordinates.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const getMonitorCoordinates = async (bedId) => {
zoom: preset.zoom,
};
} catch (err) {
console.log(err?.response?.data);
console.log(err);

return {
x: 0,
Expand Down
4 changes: 3 additions & 1 deletion src/controller/ObservationController.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,9 @@ const updateObservationsToCare = async () => {
payload.rounds_type = "AUTOMATED";

try {
const { camera } = await getBedById(bed_id);
const { camera, monitorPreset } = await getBedById(bed_id);
console.log(bed_id, camera, monitorPreset);


const cameraParams = {
hostname: camera.ipAddress,
Expand Down

0 comments on commit 1dfa09f

Please sign in to comment.