Fix to addUserToProject API

This commit is contained in:
Peter KW 2024-03-28 00:57:16 +01:00
parent 36c158b54b
commit 99a1430188

View file

@ -265,7 +265,7 @@ export const api: API = {
): Promise<APIResponse<NewProjMember>> {
try {
const response = await fetch("/api/addUserToProject", {
method: "POST",
method: "PUT",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer " + token,