fixed error on metadata 404
This commit is contained in:
parent
76175d61af
commit
bace117ada
2 changed files with 7 additions and 2 deletions
|
@ -21,7 +21,7 @@ module.exports = function(state, emit) {
|
|||
return notFound(state, emit);
|
||||
}
|
||||
state.fileInfo.id = state.params.id;
|
||||
state.fileInfo.key = state.params.key;
|
||||
state.fileInfo.secretKey = state.params.key;
|
||||
const fileInfo = state.fileInfo;
|
||||
const size = fileInfo.size
|
||||
? state.translate('downloadFileSize', { size: bytes(fileInfo.size) })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue