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 14feaaa commit cc37984
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
@@ -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)
{

0 comments on commit cc37984

Please sign in to comment.