Skip to content

Commit

Permalink
Fix the call of GetDeviceModelCommands on Device edit page #904
Browse files Browse the repository at this point in the history
  • Loading branch information
hocinehacherouf committed Jul 7, 2022
1 parent 13e48be commit 37d1916
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
if (IsLoRa)
{
Device = await LoRaWanDeviceClientService.GetDevice(DeviceID);
Commands = await LoRaWanDeviceModelsClientService.GetDeviceModelCommands(Device.DeviceID);
Commands = await LoRaWanDeviceModelsClientService.GetDeviceModelCommands(Device.ModelId);
DeviceModel = await LoRaWanDeviceModelsClientService.GetDeviceModel(Device.ModelId);
}
else
Expand Down

0 comments on commit 37d1916

Please sign in to comment.