This commit is contained in:
Charles Le Maux 2024-07-03 14:49:44 +01:00
parent ce5f30dee3
commit 411e19fa7d

View File

@ -61,7 +61,6 @@ class serviiApi {
private static async call<T extends BaseRequest>(endpoint: serviiRequest, body: T):Promise<ApiResponse>{ private static async call<T extends BaseRequest>(endpoint: serviiRequest, body: T):Promise<ApiResponse>{
const response = await fetch(`${apiUrl}/${endpoint}`, { const response = await fetch(`${apiUrl}/${endpoint}`, {
credentials: "omit",
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',