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:
@@ -69,6 +69,7 @@ export class Invite {
|
||||
return await this.client.fetch<{ invite: HttpTypes.AdminInviteResponse }>(
|
||||
`/admin/invites/${id}/resend`,
|
||||
{
|
||||
method: "POST",
|
||||
headers,
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user