no longer checking if result was using input rewrite

This commit is contained in:
Jack 2021-11-23 21:06:42 +00:00
parent 1a12c2cb7e
commit 9671c8115d

View file

@ -13,7 +13,7 @@ class ResultDAO {
}
if (!user) throw new MonkeyError(404, "User not found", "add result");
if (result.uid === undefined) result.uid = uid;
result.ir = true;
// result.ir = true;
let res = await mongoDB().collection("results").insertOne(result);
return {
insertedId: res.insertedId,