fix(api): 🐛 Fix proxy returning incorrect media due to compression

This commit is contained in:
Jesse Wierzbinski 2024-05-06 17:50:50 +00:00
parent 8557867ad8
commit ad4466a260
No known key found for this signature in database
3 changed files with 6 additions and 48 deletions

View file

@ -112,7 +112,7 @@ describe("POST /api/auth/login/", () => {
describe("GET /oauth/authorize/", () => {
test("should get a code", async () => {
const response = await sendTestRequest(
new Request(new URL(`/oauth/authorize`, base_url), {
new Request(new URL("/oauth/authorize", base_url), {
method: "POST",
headers: {
Cookie: `jwt=${jwt}`,