fix(xo-server/unregisterProxy): don't try to unbind license if method unavailable
This commit is contained in:
parent
07c3a44441
commit
9150823c37
@ -125,7 +125,7 @@ export default class Proxy {
|
||||
if (vmUuid !== undefined) {
|
||||
// waiting the unbind of the license in order to be available at the end of the method call
|
||||
await this._app
|
||||
.unbindLicense({
|
||||
.unbindLicense?.({
|
||||
boundObjectId: vmUuid,
|
||||
productId: this._app.config.get('xo-proxy.licenseProductId'),
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user