bracket typo
This commit is contained in:
parent
3f89c2bf0a
commit
ef9b15c1d7
1 changed files with 2 additions and 2 deletions
|
@ -191,8 +191,8 @@ app.post('/upload', (req, res, next) => {
|
||||||
if (
|
if (
|
||||||
!meta.hasOwnProperty('aad') ||
|
!meta.hasOwnProperty('aad') ||
|
||||||
!meta.hasOwnProperty('id') ||
|
!meta.hasOwnProperty('id') ||
|
||||||
!meta.hasOwnProperty('filename' ||
|
!meta.hasOwnProperty('filename') ||
|
||||||
!validateIV(meta.id))
|
!validateIV(meta.id)
|
||||||
) {
|
) {
|
||||||
res.sendStatus(404);
|
res.sendStatus(404);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue