mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-19 03:06:27 +00:00
removed unnecessary changes
This commit is contained in:
parent
e0aa5e3929
commit
34cbb1e699
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user