Skip to content

Commit

Permalink
Remove unnecessary readonly false
Browse files Browse the repository at this point in the history
  • Loading branch information
andchiind committed Dec 18, 2024
1 parent 95b9347 commit 2fa60f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/EventHandlers/MqttEventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 2fa60f3

Please sign in to comment.