removed unnecessary changes

This commit is contained in:
Vasilis Souleles 2014-05-02 13:59:26 +03:00 committed by Pablo Carranza Vélez
parent e0aa5e3929
commit 34cbb1e699

View File

@ -100,21 +100,11 @@ exports.update = ->
Promise.all([
knex('config').select('value').where(key: 'apiKey')
knex('config').select('value').where(key: 'uuid')
knex('config').select('value').where(key: 'version')
knex('app').select()
])
.then ([[apiKey], [uuid], [version], apps]) ->
apiKey = apiKey.value
uuid = uuid.value
version = version.value
###
# should I post 'resin-supervisor' version every 15-minutes?
# with something like
resinAPI.post(
device:
supervisor-version: version
)
###
resinAPI.get(
resource: 'application'
options: