From 2a73358c02cb6cebd82ce9ff9af6dd6e026a039c Mon Sep 17 00:00:00 2001 From: minhd-vu Date: Mon, 26 Feb 2024 02:16:40 -0500 Subject: [PATCH] fix to lower case --- components/JoinParty.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/JoinParty.tsx b/components/JoinParty.tsx index d5bb805..6c422b1 100644 --- a/components/JoinParty.tsx +++ b/components/JoinParty.tsx @@ -20,7 +20,7 @@ export default function JoinParty() { headers: { "Content-type": "application/json", }, - body: JSON.stringify({ code }), + body: JSON.stringify({ code: code.toLowerCase() }), }); if (!res.ok) {