mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 04:51:16 +08:00
typo
This commit is contained in:
parent
10a5633e25
commit
1692679951
1 changed files with 1 additions and 1 deletions
|
@ -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 } });
|
||||
|
|
Loading…
Reference in a new issue