2.2.13Orbis IoT ApiFix
Device registration query is fixed for existing serials
The query used when registering a device has been adjusted so it does not fail if the equipment already had an assigned owner previously. With this change, creation works again in those cases.
Changes
- The query used in
getDeviceBySerialduring device registration was fixed. - Now, if the device already had a previous owner, the last registered one is used instead of causing an error.
Note
This adjustment avoids failures in scenarios where a device was deregistered and later registered again with the same serial.