Skip to content

Commit

Permalink
fix: accept user share
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaumaus committed Dec 19, 2024
1 parent 399eca5 commit 6c0a28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ export const rejectProjectShare = (actionId: string) =>

export const acceptProjectShare = (actionId: string) =>
api
.post(`/user/share/${actionId}`)
.get(`/user/share/${actionId}`)
.then((response) => response.data)
.catch((error) => {
throw _isEmpty(error.response.data?.message) ? error.response.data : error.response.data.message
Expand Down

0 comments on commit 6c0a28c

Please sign in to comment.