Fix logged out saving

This commit is contained in:
Justin Edmund 2020-10-19 00:12:55 -07:00
parent c3a0a99ccd
commit d93b6e5bdf

View file

@ -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
}
}