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