Fix reference to user ID

This commit is contained in:
Justin Edmund 2022-01-28 21:27:29 -08:00
parent 05f2c8d30f
commit b08ac89f9b

View file

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