From b08ac89f9b000f25afe1c3d872922a1d2bb59c42 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 28 Jan 2022 21:27:29 -0800 Subject: [PATCH] Fix reference to user ID --- components/Party/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Party/index.tsx b/components/Party/index.tsx index 944e54da..d0c8b73c 100644 --- a/components/Party/index.tsx +++ b/components/Party/index.tsx @@ -149,13 +149,13 @@ const Party = (props: Props) => { } async function createParty() { - const body = (cookies.userId === undefined) ? { + const body = (cookies.user.userId === undefined) ? { party: { is_extra: extra } } : { party: { - user_id: cookies.userId, + user_id: cookies.user.userId, is_extra: extra } }