Frontend: Code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
0ed82c690c
commit
cb9ca60efe
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue