mirror of
https://github.com/timvisee/send.git
synced 2025-10-03 17:49:18 +02:00
Begin implementing a reporting mechanism
This commit is contained in:
parent
ccbcb69666
commit
9891d1f0ba
37 changed files with 762 additions and 183 deletions
|
@ -46,7 +46,7 @@ module.exports = {
|
|||
if (id && ownerToken) {
|
||||
try {
|
||||
req.meta = await storage.metadata(id);
|
||||
if (!req.meta) {
|
||||
if (!req.meta || req.meta.dead) {
|
||||
return res.sendStatus(404);
|
||||
}
|
||||
const metaOwner = Buffer.from(req.meta.owner, 'utf8');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue