Commit 5f36b537 authored by krlwlfrt's avatar krlwlfrt
Browse files

fix: correctly delete labels

parent 07b1c76a
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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',
      },
    );