From bb996629767fd1bf401ce6bbff9a0107403be420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Wed, 28 Jun 2017 11:06:27 +0100 Subject: [PATCH] fix(portal-data): don't fallback on service slug --- packages/portal-data/lib/transform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/portal-data/lib/transform.js b/packages/portal-data/lib/transform.js index d71a2c48..dea646da 100644 --- a/packages/portal-data/lib/transform.js +++ b/packages/portal-data/lib/transform.js @@ -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 || [],