From 169267995192675dcca83de1f9442a90263c7a88 Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 31 Jan 2022 15:36:22 +0100 Subject: [PATCH] typo --- backend/dao/result.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/dao/result.js b/backend/dao/result.js index 9a9293bfa..ff3eeae08 100644 --- a/backend/dao/result.js +++ b/backend/dao/result.js @@ -36,7 +36,7 @@ class ResultDAO { if (!userTagIds.includes(tagId)) validTags = false; }); if (!validTags) - throw new MonkeyError(400, "One of the tag id's is not vaild"); + throw new MonkeyError(400, "One of the tag id's is not valid"); return await mongoDB() .collection("results") .updateOne({ _id: ObjectID(resultid), uid }, { $set: { tags } });