From 5956e45e226dacfd061dca6fdd61e8c72dd20dd0 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Mon, 18 Sep 2023 19:11:39 +0300 Subject: [PATCH] Fix misleading error --- app/features/sendouq/routes/q.match.$id.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/features/sendouq/routes/q.match.$id.tsx b/app/features/sendouq/routes/q.match.$id.tsx index 003bc7838..b49302513 100644 --- a/app/features/sendouq/routes/q.match.$id.tsx +++ b/app/features/sendouq/routes/q.match.$id.tsx @@ -129,7 +129,7 @@ export const action = async ({ request, params }: ActionArgs) => { const groupMemberOfId = members.find((m) => m.id === user.id)?.groupId; invariant( groupMemberOfId || data.adminReport, - "User is not a manager of any group", + "User is not a member of any group", ); const winner = winnersArrayToWinner(data.winners);