mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
Fix
This commit is contained in:
parent
f42bd7d011
commit
38d77fdfbb
1
.gitignore
vendored
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…
Reference in New Issue
Block a user