From cb9ca60efe2864bda4c7a3e0557d41c26a02a0b8 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 22 Jun 2020 20:40:29 +0200 Subject: [PATCH] Frontend: Code clean-up Signed-off-by: Michael Mayer --- frontend/src/model/rest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/model/rest.js b/frontend/src/model/rest.js index b7ab07b7f..602d34c82 100644 --- a/frontend/src/model/rest.js +++ b/frontend/src/model/rest.js @@ -58,7 +58,7 @@ export class Rest extends Model { "Password": password ? password : "", "ShareExpires": expires ? expires : 0, "CanEdit": false, - "CanComment": false + "CanComment": false, }) .then((resp) => Promise.resolve(new Link(resp.data))); } @@ -95,7 +95,7 @@ export class Rest extends Model { } modelName() { - return this.constructor.getModelName() + return this.constructor.getModelName(); } static getCollectionResource() {