From 059630c606307d8b919358a8d0259917b429d85f Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 4 Feb 2022 12:51:38 +0100 Subject: [PATCH] added report reason --- backend/api/routes/quotes.js | 3 ++- static/index.html | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/api/routes/quotes.js b/backend/api/routes/quotes.js index 6d66aded4..750e64a9d 100644 --- a/backend/api/routes/quotes.js +++ b/backend/api/routes/quotes.js @@ -120,7 +120,8 @@ quotesRouter.post( .valid( "Grammatical error", "Inappropriate content", - "Low quality content" + "Low quality content", + "Incorrect source" ) .required(), comment: joi.string().allow("").max(250).required(), diff --git a/static/index.html b/static/index.html index 7be940c07..189684b41 100644 --- a/static/index.html +++ b/static/index.html @@ -587,6 +587,7 @@ +