⏪ Rolling back to old logic to provide mock device id in websocket gateway
This commit is contained in:
@@ -42,7 +42,7 @@ public class WebSocketController(
|
|||||||
var deviceId = currentSession.ClientId;
|
var deviceId = currentSession.ClientId;
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(deviceId))
|
if (string.IsNullOrEmpty(deviceId))
|
||||||
return BadRequest("Unable to determine device id");
|
deviceId = Guid.NewGuid().ToString();
|
||||||
if (deviceAlt is not null)
|
if (deviceAlt is not null)
|
||||||
deviceId = $"{deviceId}+{deviceAlt}";
|
deviceId = $"{deviceId}+{deviceAlt}";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user