- removed console.logs
This commit is contained in:
@@ -48,7 +48,6 @@ const RegionSelector = ({
|
||||
const getMagnificationLevel = () => {
|
||||
const test = socket?.data;
|
||||
if (!socket?.data) return null;
|
||||
console.log(test);
|
||||
if (!test || !test.magnificationLevel) return "1x";
|
||||
return test?.magnificationLevel;
|
||||
};
|
||||
|
||||
@@ -23,7 +23,6 @@ const postZoomLevel = async (zoomConfig: CameraZoomConfig) => {
|
||||
id: `Camera${zoomConfig.cameraFeedID}-onvif-controller`,
|
||||
fields,
|
||||
};
|
||||
console.log(zoomPayload);
|
||||
const response = await fetch(`${CAMBASE}/api/update-config`, {
|
||||
method: "POST",
|
||||
body: JSON.stringify(zoomPayload),
|
||||
|
||||
Reference in New Issue
Block a user