From 568239b6f56a2104c87e8b121a996ed8c67967ba Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 13 Feb 2021 15:34:37 +0100 Subject: [PATCH] Upgrade API system --- assets/js/common/api.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/js/common/api.js b/assets/js/common/api.js index 750d25a6..e87278f6 100644 --- a/assets/js/common/api.js +++ b/assets/js/common/api.js @@ -41,9 +41,8 @@ const APIClient = { //Prepare the request URL var requestURL = ComunicWeb.__config.apiURL + apiURI; - //Add API service tokens - params.serviceName = ComunicWeb.__config.apiServiceName; - params.serviceToken = ComunicWeb.__config.apiServiceToken; + // Add client name + params.client = ComunicWeb.__config.apiClientName; //Add login tokens to params if required if(requireLoginTokens){