aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/dcae-deployments.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dcae-deployments.js b/lib/dcae-deployments.js
index 708a949..6f9f782 100644
--- a/lib/dcae-deployments.js
+++ b/lib/dcae-deployments.js
@@ -1,5 +1,6 @@
/*
Copyright(c) 2017-2020 AT&T Intellectual Property. All rights reserved.
+Copyright(c) 2020 Nokia. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -64,7 +65,7 @@ const createLinks = function(req, deploymentId, executionId) {
var baseURL = req.protocol + '://' + req.get('Host') + req.app.mountpath + '/' + deploymentId;
return {
self: baseURL,
- status: baseURL + '/operation/' + executionId + '?cfy_tenant_name=' + req.query.cfy_tenant_name || DEFAULT_TENANT
+ status: baseURL + '/operation/' + executionId + '?cfy_tenant_name=' + (req.query.cfy_tenant_name || DEFAULT_TENANT)
};
};