safe.fiery.me
Bobby Wibowo 5 years ago
parent f42bd7d011
commit 38d77fdfbb
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
  1. 1
      .gitignore
  2. 2
      controllers/uploadController.js

1
.gitignore vendored

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

@ -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 {

Loading…
Cancel
Save