mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
Fix OAuth tests failing
This commit is contained in:
parent
ec0544c5ba
commit
ace9f97275
|
|
@ -102,9 +102,7 @@ describe("POST /oauth/token/", () => {
|
|||
// @ts-expect-error FormData works
|
||||
const response = await fetch(`${config.http.base_url}/oauth/token/`, {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "multipart/form-data",
|
||||
},
|
||||
// Do not set the Content-Type header for some reason
|
||||
body: formData,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue