From 14a1738e6aaf4ad9f1491c106b0cbd2efea47fa1 Mon Sep 17 00:00:00 2001 From: mksahakyan Date: Mon, 23 May 2022 15:44:37 +0200 Subject: [PATCH] correct rm-label --- dcache-namespace.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dcache-namespace.html b/dcache-namespace.html index bbba09a..27194b3 100644 --- a/dcache-namespace.html +++ b/dcache-namespace.html @@ -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 @@ -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)); }