Upgrade API system

This commit is contained in:
Pierre HUBERT 2021-02-13 15:34:37 +01:00
parent f0f8d3cb71
commit 568239b6f5

View File

@ -41,9 +41,8 @@ const APIClient = {
//Prepare the request URL //Prepare the request URL
var requestURL = ComunicWeb.__config.apiURL + apiURI; var requestURL = ComunicWeb.__config.apiURL + apiURI;
//Add API service tokens // Add client name
params.serviceName = ComunicWeb.__config.apiServiceName; params.client = ComunicWeb.__config.apiClientName;
params.serviceToken = ComunicWeb.__config.apiServiceToken;
//Add login tokens to params if required //Add login tokens to params if required
if(requireLoginTokens){ if(requireLoginTokens){