We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12170b2 commit b4e9338Copy full SHA for b4e9338
TarkovMonitor/TarkovTracker.cs
@@ -35,11 +35,12 @@ internal interface ITarkovTrackerAPI
35
{
36
AuthorizationHeaderValueGetter = (rq, cr) => {
37
return Task.Run<string>(() => {
38
- if (tokens == null || !tokens.ContainsKey(currentProfile)) {
+ string token = GetToken(currentProfile);
39
+ if (token == "") {
40
throw new Exception("No PVE or PVP profile could be found, launch tarkov first");
41
}
42
- return tokens[currentProfile];
43
+ return token;
44
});
45
},
46
0 commit comments