From f7f09d16b146932b2a274f0106a659fbbfa2c1b1 Mon Sep 17 00:00:00 2001 From: Miodec Date: Thu, 29 Feb 2024 15:10:48 +0100 Subject: [PATCH] fix: error when trying to update result tags --- backend/src/api/controllers/result.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/api/controllers/result.ts b/backend/src/api/controllers/result.ts index 7febac483..ac1f6811a 100644 --- a/backend/src/api/controllers/result.ts +++ b/backend/src/api/controllers/result.ts @@ -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);