mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 06:30:53 +03:00
Begin implementing a reporting mechanism
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user