mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Fixing Group SAML Links API for the show and remove methods (#3474)
This commit is contained in:
parent
8501ca5191
commit
ed67b46d08
@ -48,12 +48,11 @@ export class GroupSAMLLinks<C extends boolean = false> extends BaseResource<C> {
|
||||
samlGroupName: string,
|
||||
options?: Sudo & ShowExpanded<E>,
|
||||
): Promise<GitlabAPIResponse<void, C, E, void>> {
|
||||
return RequestHelper.del()(this, endpoint`groups/${groupId}/saml_group_links`, {
|
||||
searchParams: {
|
||||
samlGroupName,
|
||||
},
|
||||
...options,
|
||||
});
|
||||
return RequestHelper.del()(
|
||||
this,
|
||||
endpoint`groups/${groupId}/saml_group_links/${samlGroupName}`,
|
||||
options,
|
||||
);
|
||||
}
|
||||
|
||||
show<E extends boolean = false>(
|
||||
@ -63,11 +62,8 @@ export class GroupSAMLLinks<C extends boolean = false> extends BaseResource<C> {
|
||||
): Promise<GitlabAPIResponse<SAMLGroupSchema, C, E, void>> {
|
||||
return RequestHelper.get<SAMLGroupSchema>()(
|
||||
this,
|
||||
endpoint`groups/${groupId}/saml_group_links`,
|
||||
{
|
||||
samlGroupName,
|
||||
...options,
|
||||
},
|
||||
endpoint`groups/${groupId}/saml_group_links/${samlGroupName}`,
|
||||
options,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user