From de6de9d39745c2bf31cb8759b3b85168ef77f24d Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Wed, 12 Nov 2014 16:08:59 +0000 Subject: [PATCH] Select just the id as it's all we need, and reduces network traffic. --- src/application.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/application.coffee b/src/application.coffee index 9d380d5c..f7359f32 100644 --- a/src/application.coffee +++ b/src/application.coffee @@ -281,6 +281,7 @@ exports.updateDeviceInfo = updateDeviceInfo = (body) -> resinAPI.get( resource: 'device' options: + select: 'id' filter: uuid: uuid customOptions: