fixed suffix of OTS authentication

This commit is contained in:
Valmo Trindade
2025-01-04 23:09:19 -03:00
parent fc975f53ce
commit 620fd37bc7
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ class CfgFunctions {
class extract_uuid { class extract_uuid {
file = "\armatak\armatak\armatak_main\functions\extract_data\fn_extract_uuid.sqf"; file = "\armatak\armatak\armatak_main\functions\extract_data\fn_extract_uuid.sqf";
}; };
class extract_ots_auth_token { class ots_extract_auth_token {
file = "\armatak\armatak\armatak_main\functions\extract_data\fn_ots_extract_auth_token.sqf"; file = "\armatak\armatak\armatak_main\functions\extract_data\fn_ots_extract_auth_token.sqf";
}; };
class convert_location { class convert_location {

View File

@@ -22,7 +22,7 @@ if (isServer) exitWith {
missionNamespace setVariable ["_atak_server_instance_username", _atak_api_username]; missionNamespace setVariable ["_atak_server_instance_username", _atak_api_username];
missionNamespace setVariable ["_atak_server_instance_password", _atak_api_password]; missionNamespace setVariable ["_atak_server_instance_password", _atak_api_password];
_atak_server_instance_token = call armatak_fnc_extract_auth_token; _atak_server_instance_token = call armatak_fnc_ots_extract_auth_token;
if ((_atak_server_instance_token == "") and !(["ERROR", _atak_server_instance_token, false] call BIS_fnc_inString)) then { if ((_atak_server_instance_token == "") and !(["ERROR", _atak_server_instance_token, false] call BIS_fnc_inString)) then {
private _warning = format ["<t color='#FF0000'>ARMATAK</t><br/> %1", "Connection Failed"]; private _warning = format ["<t color='#FF0000'>ARMATAK</t><br/> %1", "Connection Failed"];