diff --git a/app/docker/services/serviceService.js b/app/docker/services/serviceService.js index 748e153cd..a3146b7d7 100644 --- a/app/docker/services/serviceService.js +++ b/app/docker/services/serviceService.js @@ -56,11 +56,12 @@ function ServiceServiceFactory(AngularToReact) { * @param {string?} rollback */ async function updateServiceAngularJS(environmentId, service, config, rollback) { + const data = await getServiceAngularJS(environmentId, service.Id); return updateService({ environmentId, config, serviceId: service.Id, - version: service.Version, + version: data.Version, registryId: config.registryId, rollback, });