mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 15:10:54 +03:00
implemented download tokens
This commit is contained in:
@@ -11,7 +11,7 @@ module.exports = async function(req, res) {
|
||||
res.send({
|
||||
metadata: meta.metadata,
|
||||
flagged: !!meta.flagged,
|
||||
finalDownload: meta.dl + 1 === meta.dlimit,
|
||||
finalDownload: meta.dlToken + 1 === meta.dlimit,
|
||||
ttl
|
||||
});
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user