fix(js-sdk): fix invite resend request being sent as GET instead of POST (#8960)

`/admin/invites/:id/resend` is a POST API route, but the JS SDK's `resend` method was sending a GET request.
This commit is contained in:
Shahed Nasser
2024-09-03 13:36:11 +03:00
committed by GitHub
parent f9b0605d67
commit 123118ac8e

View File

@@ -69,6 +69,7 @@ export class Invite {
return await this.client.fetch<{ invite: HttpTypes.AdminInviteResponse }>(
`/admin/invites/${id}/resend`,
{
method: "POST",
headers,
}
)