Skip to content

Commit 4e1d7bb

Browse files
authored
Dont sanitize unique name in calibration JSON HTTP URL (#1846)
1 parent 97dbcdd commit 4e1d7bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

photon-client/src/stores/settings/CameraSettingsStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ export const useCameraSettingsStore = defineStore("cameraSettings", {
478478
const url = new URL(`http://${host}/api/utils/getCalibrationJSON`);
479479
url.searchParams.set("width", Math.round(resolution.width).toFixed(0));
480480
url.searchParams.set("height", Math.round(resolution.height).toFixed(0));
481-
url.searchParams.set("cameraUniqueName", cameraUniqueName.replace(" ", "").trim().toLowerCase());
481+
url.searchParams.set("cameraUniqueName", cameraUniqueName);
482482

483483
return url.href;
484484
}

0 commit comments

Comments
 (0)