[call-me] - fix typo

This commit is contained in:
Miroslav Pejic
2025-01-04 15:46:17 +01:00
parent 0b94799cf8
commit 123e79e248
+2 -3
View File
@@ -397,9 +397,8 @@ function swapCamera() {
refreshLocalVideoStream(newStream);
refreshPeerVideoStreams(newStream);
})
.catch((err) => {
console.error(`[Error] Camera swap failed: ${err.message}`, err);
handleError('Failed to swap the camera.');
.catch((error) => {
handleError('Failed to swap the camera.', error);
});
}