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