Select just the id as it's all we need, and reduces network traffic.

This commit is contained in:
Pagan Gazzard 2014-11-12 16:08:59 +00:00 committed by Pablo Carranza Vélez
parent e6e42d6631
commit de6de9d397

View File

@ -281,6 +281,7 @@ exports.updateDeviceInfo = updateDeviceInfo = (body) ->
resinAPI.get(
resource: 'device'
options:
select: 'id'
filter:
uuid: uuid
customOptions: