Fix reference to user ID
This commit is contained in:
parent
05f2c8d30f
commit
b08ac89f9b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue