From 310b5219b38427f0c2c7ba57225afdd8f3064380 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 8 Jul 2020 15:51:46 +0200 Subject: Add new abuses tests --- server/controllers/api/abuse.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/controllers/api/abuse.ts') diff --git a/server/controllers/api/abuse.ts b/server/controllers/api/abuse.ts index 38808021d..04a0c06e3 100644 --- a/server/controllers/api/abuse.ts +++ b/server/controllers/api/abuse.ts @@ -100,7 +100,7 @@ async function updateAbuse (req: express.Request, res: express.Response) { return abuse.save({ transaction: t }) }) - // Do not send the delete to other instances, we updated OUR copy of this video abuse + // Do not send the delete to other instances, we updated OUR copy of this abuse return res.type('json').status(204).end() } @@ -112,7 +112,7 @@ async function deleteAbuse (req: express.Request, res: express.Response) { return abuse.destroy({ transaction: t }) }) - // Do not send the delete to other instances, we delete OUR copy of this video abuse + // Do not send the delete to other instances, we delete OUR copy of this abuse return res.type('json').status(204).end() } -- cgit v1.2.3