diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-28 11:12:16 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-31 11:35:19 +0200 |
commit | 668b7f096ead74d6e7692944a026c936f581dae8 (patch) | |
tree | d969753941012d080e4bd6d74e65dee95581479f /server/middlewares/validators | |
parent | d573926e9b94fb19c8f51c53f71fc853182e1761 (diff) | |
download | PeerTube-668b7f096ead74d6e7692944a026c936f581dae8.tar.gz PeerTube-668b7f096ead74d6e7692944a026c936f581dae8.tar.zst PeerTube-668b7f096ead74d6e7692944a026c936f581dae8.zip |
Add openapi doc
Diffstat (limited to 'server/middlewares/validators')
-rw-r--r-- | server/middlewares/validators/abuse.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/abuse.ts b/server/middlewares/validators/abuse.ts index 2a096e0af..f99d850a5 100644 --- a/server/middlewares/validators/abuse.ts +++ b/server/middlewares/validators/abuse.ts | |||
@@ -208,7 +208,7 @@ const checkAbuseValidForMessagesValidator = [ | |||
208 | const abuse = res.locals.abuse | 208 | const abuse = res.locals.abuse |
209 | if (abuse.ReporterAccount.isOwned() === false) { | 209 | if (abuse.ReporterAccount.isOwned() === false) { |
210 | return res.status(400).json({ | 210 | return res.status(400).json({ |
211 | error: 'This abuse was created by a user of your instance.', | 211 | error: 'This abuse was created by a user of your instance.' |
212 | }) | 212 | }) |
213 | } | 213 | } |
214 | 214 | ||