Skip to content

Commit

Permalink
change join route method to POST
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgabrielsoft committed May 20, 2024
1 parent e1f4b4a commit a6c53a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/presentation/http/router/join.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ describe('Join API', () => {
headers: {
authorization: `Bearer ${accessToken}`,
},
body: { invitationHash },
url: `/join/${invitationHash}`,
});

Expand All @@ -61,6 +62,7 @@ describe('Join API', () => {
headers: {
authorization: `Bearer ${accessToken}`,
},
body: { hash },
url: `/join/${hash}`,
});

Expand Down Expand Up @@ -107,6 +109,7 @@ describe('Join API', () => {
headers: {
authorization: `Bearer ${accessToken}`,
},
body: { invitationHash },
url: `/join/${invitationHash}`,
});

Expand Down

0 comments on commit a6c53a5

Please sign in to comment.