You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/05/30 00:16:03 UTC
[airavata-django-portal] 02/02: AIRAVATA-3034 Fix skipping encoding
of path params
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
commit f03f4921c000e63acd0a0af3bd75bc44f2c90c16
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Wed May 29 20:14:51 2019 -0400
AIRAVATA-3034 Fix skipping encoding of path params
---
.../apps/api/static/django_airavata_api/js/services/ServiceFactory.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/django_airavata/apps/api/static/django_airavata_api/js/services/ServiceFactory.js b/django_airavata/apps/api/static/django_airavata_api/js/services/ServiceFactory.js
index 9270e04..855d600 100644
--- a/django_airavata/apps/api/static/django_airavata_api/js/services/ServiceFactory.js
+++ b/django_airavata/apps/api/static/django_airavata_api/js/services/ServiceFactory.js
@@ -126,8 +126,8 @@ const parseServiceMapping = function(serviceConfiguration) {
? methodConfig.pagination
: defaultPagination,
encodePathParams:
- "encodePathParams" in serviceConfiguration
- ? serviceConfiguration.encodePathParams
+ "encodePathParams" in methodConfig
+ ? methodConfig.encodePathParams
: true
};
if ("modelClass" in methodConfig) {