mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 02:43:08 +02:00
fix
This commit is contained in:
parent
5279d062df
commit
b266ed3e4f
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,6 @@ export default (
|
|||
detail: false
|
||||
}, options);
|
||||
|
||||
if (!file) return reject('invalid file arg.')
|
||||
|
||||
let _file: any;
|
||||
|
||||
// Populate the file if 'file' is ID
|
||||
|
@ -42,6 +40,8 @@ export default (
|
|||
_file = deepcopy(file);
|
||||
}
|
||||
|
||||
if (!_file) return reject('invalid file arg.')
|
||||
|
||||
// rendered target
|
||||
let _target: any = {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue