mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-11 15:32:47 +00:00
Select just the id as it's all we need, and reduces network traffic.
This commit is contained in:
parent
e6e42d6631
commit
de6de9d397
@ -281,6 +281,7 @@ exports.updateDeviceInfo = updateDeviceInfo = (body) ->
|
|||||||
resinAPI.get(
|
resinAPI.get(
|
||||||
resource: 'device'
|
resource: 'device'
|
||||||
options:
|
options:
|
||||||
|
select: 'id'
|
||||||
filter:
|
filter:
|
||||||
uuid: uuid
|
uuid: uuid
|
||||||
customOptions:
|
customOptions:
|
||||||
|
Loading…
Reference in New Issue
Block a user