fix(portal-data): don't fallback on service slug

This commit is contained in:
Sérgio Ramos 2017-06-28 11:06:27 +01:00 committed by Judit Greskovits
parent a2e0100f5e
commit bb99662976

View File

@ -69,7 +69,7 @@ exports.toService = function (clientService) {
version_hash: clientService.hash || clientService.name,
deployment_group_id: clientService.deploymentGroupId,
name: clientService.name,
slug: clientService.slug || '',
slug: clientService.slug,
environment: clientService.environment || {},
instance_ids: clientService.instances ? clientService.instances.map((instance) => { return instance.id; }) : [],
service_dependency_ids: clientService.connections || [],