Skip to content

Commit

Permalink
fix: error when trying to update result tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Feb 29, 2024
1 parent e6666c4 commit f7f09d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/src/api/controllers/result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ export async function updateTags(
if (!result.punctuation) {
result.punctuation = false;
}
if (!result.numbers) {
result.numbers = false;
}

const user = await getUser(uid, "update tags");
const tagPbs = await checkIfTagPb(uid, user, result);
Expand Down

0 comments on commit f7f09d1

Please sign in to comment.