mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-11 12:12:55 +00:00
fix: correctly delete labels
This commit is contained in:
@@ -193,11 +193,8 @@ export class Api {
|
|||||||
*/
|
*/
|
||||||
public deleteLabel(projectId: number, name: string): Promise<void> {
|
public deleteLabel(projectId: number, name: string): Promise<void> {
|
||||||
return this.makeGitLabAPIRequest(
|
return this.makeGitLabAPIRequest(
|
||||||
'projects/' + projectId + '/labels',
|
`projects/${projectId}/labels?name=${name}`,
|
||||||
{
|
{
|
||||||
data: {
|
|
||||||
name: name,
|
|
||||||
},
|
|
||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user