From d93b6e5bdf19251539c144695b9f348df45a4dbe Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Mon, 19 Oct 2020 00:12:55 -0700 Subject: [PATCH] Fix logged out saving --- src/components/Party/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } }