Skip to content

Commit

Permalink
Fix incorrect HTTP method used (#3430)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalrymple authored Oct 14, 2023
1 parent b6ac7ea commit 3c9633c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/resources/IssueLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class IssueLinks<C extends boolean = false> extends BaseResource<C> {
targetIssueIId: number,
options?: { linkType?: 'relates_to' | 'blocks' | 'is_blocked_by' } & Sudo & ShowExpanded<E>,
): Promise<GitlabAPIResponse<ExpandedIssueLinkSchema, C, E, void>> {
return RequestHelper.get<ExpandedIssueLinkSchema>()(
return RequestHelper.post<ExpandedIssueLinkSchema>()(
this,
endpoint`projects/${projectId}/issues/${issueIId}/links`,
{
Expand Down

0 comments on commit 3c9633c

Please sign in to comment.