Skip to content

Commit

Permalink
Update method for removing invitations (#3639)
Browse files Browse the repository at this point in the history
  • Loading branch information
roberta-pavel authored Oct 10, 2024
1 parent 6a41c00 commit cf59e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/templates/ResourceInvitations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class ResourceInvitations<C extends boolean = false> extends BaseResource
email: string,
options?: Sudo & ShowExpanded<E>,
): Promise<GitlabAPIResponse<InvitationSchema, C, E, void>> {
return RequestHelper.put<InvitationSchema>()(
return RequestHelper.del<InvitationSchema>()(
this,
endpoint`${resourceId}/invitations/${email}`,
options,
Expand Down

0 comments on commit cf59e46

Please sign in to comment.