This commit is contained in:
Bobby Wibowo 2018-01-24 05:29:13 +07:00
parent f42bd7d011
commit 38d77fdfbb
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ pages/custom/**
migrate.js
yarn.lock
package-lock.json
.vscode/

View File

@ -98,7 +98,7 @@ uploadsController.actuallyUpload = async (req, res, userid, album) => {
hash: fileHash,
ip: req.ip,
albumid: album,
userid: userid.id,
userid: userid !== undefined ? userid.id : null,
timestamp: Math.floor(Date.now() / 1000)
});
} else {