Skip to content

Commit bd9c38b

Browse files
Fix request entity too large bug on save of camera (#1793)
1 parent 31874a2 commit bd9c38b

File tree

1 file changed

+1
-0
lines changed
  • front/src/routes/integration/all/rtsp-camera

1 file changed

+1
-0
lines changed

front/src/routes/integration/all/rtsp-camera/actions.js

+1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ function createActions(store) {
199199
async saveCamera(state, index) {
200200
const camera = state.rtspCameras[index];
201201
camera.features[0].name = camera.name;
202+
delete camera.features[0].last_value_string;
202203
let newCamera = await state.httpClient.post(`/api/v1/device`, camera);
203204
newCamera = await actions.complete(newCamera);
204205
const rtspCameras = update(state.rtspCameras, {

0 commit comments

Comments
 (0)