mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-30 15:59:49 +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
|
commit: app.commit
|
||||||
status: 'success'
|
status: 'success'
|
||||||
$expand:
|
$expand:
|
||||||
contains__image: [ 'image' ]
|
contains__image:
|
||||||
|
$expand: 'image'
|
||||||
)
|
)
|
||||||
.then (releasesFromAPI) =>
|
.then (releasesFromAPI) =>
|
||||||
if releasesFromAPI.length == 0
|
if releasesFromAPI.length == 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user