mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-31 09:33:03 -06:00
fix errors (again)
This commit is contained in:
parent
03d96c7ff3
commit
4ca9490839
|
|
@ -103,8 +103,8 @@ public class DiscordClient(
|
|||
_cachedBrowserHeaders = headers;
|
||||
}
|
||||
|
||||
foreach (var kv in cachedHeaders)
|
||||
request.Headers.TryAddWithoutValidation(kv.Key, kv.Value);
|
||||
foreach (var kv in _cachedBrowserHeaders)
|
||||
if (!request.Headers.Contains(kv.Key)) request.Headers.TryAddWithoutValidation(kv.Key, kv.Value);
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue