diff --git a/src/components/Party/index.tsx b/src/components/Party/index.tsx index 4e39343a..5e004dc1 100644 --- a/src/components/Party/index.tsx +++ b/src/components/Party/index.tsx @@ -131,9 +131,9 @@ const Party = (props: Props) => { } async function createParty() { - const body = (cookies.user.userId === undefined) ? {} : { + const body = (cookies.userId === undefined) ? {} : { party: { - user_id: cookies.user.userId + user_id: cookies.userId } }