1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-09-19 23:51:32 +02:00

bracket typo

This commit is contained in:
Abhinav Adduri 2017-07-13 14:56:28 -07:00
parent 3f89c2bf0a
commit ef9b15c1d7

View File

@ -191,8 +191,8 @@ app.post('/upload', (req, res, next) => {
if (
!meta.hasOwnProperty('aad') ||
!meta.hasOwnProperty('id') ||
!meta.hasOwnProperty('filename' ||
!validateIV(meta.id))
!meta.hasOwnProperty('filename') ||
!validateIV(meta.id)
) {
res.sendStatus(404);
return;