From cc37984795cfd2c1a4d728425f3f57ec6cab429c Mon Sep 17 00:00:00 2001 From: andchiind Date: Wed, 18 Dec 2024 10:22:47 +0100 Subject: [PATCH] Remove unnecessary readonly false --- backend/api/EventHandlers/MqttEventHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/EventHandlers/MqttEventHandler.cs b/backend/api/EventHandlers/MqttEventHandler.cs index 835856de..8acd999c 100644 --- a/backend/api/EventHandlers/MqttEventHandler.cs +++ b/backend/api/EventHandlers/MqttEventHandler.cs @@ -183,7 +183,7 @@ private async void OnIsarRobotInfo(object? sender, MqttReceivedArgs mqttArgs) try { - var robot = await RobotService.ReadByIsarId(isarRobotInfo.IsarId, readOnly: false); + var robot = await RobotService.ReadByIsarId(isarRobotInfo.IsarId, readOnly: true); if (robot == null) {