Fix to addUserToProject API
This commit is contained in:
parent
36c158b54b
commit
99a1430188
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ export const api: API = {
|
||||||
): Promise<APIResponse<NewProjMember>> {
|
): Promise<APIResponse<NewProjMember>> {
|
||||||
try {
|
try {
|
||||||
const response = await fetch("/api/addUserToProject", {
|
const response = await fetch("/api/addUserToProject", {
|
||||||
method: "POST",
|
method: "PUT",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
Authorization: "Bearer " + token,
|
Authorization: "Bearer " + token,
|
||||||
|
|
Loading…
Reference in a new issue