Unverified Commit d10f2a19 authored by NGPixel's avatar NGPixel

feat: send UPGRADE_COMPANION_REF in automated upgrade call

parent db2ad81a
......@@ -90,7 +90,10 @@ module.exports = {
if (process.env.UPGRADE_COMPANION) {
await request({
method: 'POST',
uri: 'http://wiki-update-companion/upgrade'
uri: 'http://wiki-update-companion/upgrade',
qs: {
...process.env.UPGRADE_COMPANION_REF && { container: process.env.UPGRADE_COMPANION_REF }
}
})
return {
responseResult: graphHelper.generateSuccess('Upgrade has started.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment