mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-16 11:16:20 +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> {
|
||||
return this.makeGitLabAPIRequest(
|
||||
'projects/' + projectId + '/labels',
|
||||
`projects/${projectId}/labels?name=${name}`,
|
||||
{
|
||||
data: {
|
||||
name: name,
|
||||
},
|
||||
method: 'DELETE',
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user