mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-12 13:48:23 +09:00
fix
This commit is contained in:
parent
5279d062df
commit
b266ed3e4f
@ -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 New Issue
Block a user