mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-03 12:02:53 +00:00
fix: correct return type for method
This commit is contained in:
@@ -374,7 +374,7 @@ export class Api {
|
|||||||
* @param projectId ID of the project the merge request belongs to
|
* @param projectId ID of the project the merge request belongs to
|
||||||
* @param mergeRequestIid IID of the merge request
|
* @param mergeRequestIid IID of the merge request
|
||||||
*/
|
*/
|
||||||
public getMergeRequestDiscussions(projectId: number, mergeRequestIid: number): Promise<Discussion> {
|
public getMergeRequestDiscussions(projectId: number, mergeRequestIid: number): Promise<Discussion[]> {
|
||||||
return this.makeGitLabAPIRequest(
|
return this.makeGitLabAPIRequest(
|
||||||
`projects/${projectId}/merge_requests/${mergeRequestIid}/discussions`,
|
`projects/${projectId}/merge_requests/${mergeRequestIid}/discussions`,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user