Skip to content

Commit

Permalink
correct rm-label
Browse files Browse the repository at this point in the history
  • Loading branch information
mksahakyan authored May 23, 2022
1 parent 7a4dcfb commit 14a1738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dcache-namespace.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
}

/*
* ### Performs a request to add a new label to a file.
* ### Performs a request to remove the label from a file.
* @param {{
* options: (object)}} options -
* `url`: (String) The url with the dcache restful-api path
Expand All @@ -250,7 +250,7 @@
let opt = {};
opt.url = this._appendFullPathToUrl(options.url, options.path);
opt.label = options.label;
this._send(opt, "remove-label");
this._send(opt, "rm-label");
} catch (e) {
this.rejectPromise(new Error("Could not proceed with the request. " + e.message));
}
Expand Down

0 comments on commit 14a1738

Please sign in to comment.