mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 14:13:08 +00:00
Merge pull request #939 from balena-io/fix-migration-pinejs-update
fix: Correct use of $expand to avoid an exception when updating from …
This commit is contained in:
commit
46c99e7001
@ -172,7 +172,8 @@ module.exports = class DeviceState extends EventEmitter
|
||||
commit: app.commit
|
||||
status: 'success'
|
||||
$expand:
|
||||
contains__image: [ 'image' ]
|
||||
contains__image:
|
||||
$expand: 'image'
|
||||
)
|
||||
.then (releasesFromAPI) =>
|
||||
if releasesFromAPI.length == 0
|
||||
|
Loading…
Reference in New Issue
Block a user