mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Upgrade API system
This commit is contained in:
parent
f0f8d3cb71
commit
568239b6f5
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user