Frontend: Code clean-up

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-06-22 20:40:29 +02:00
parent 0ed82c690c
commit cb9ca60efe

View file

@ -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() {