Change the sent param for the extra toggle
This commit is contained in:
parent
094d2e83d6
commit
45c133f450
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ const Party = (props: Props) => {
|
|||
let body = {
|
||||
party: {
|
||||
...(cookies.user) && { user_id: cookies.user.user_id },
|
||||
is_extra: extra
|
||||
extra: extra
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ const Party = (props: Props) => {
|
|||
|
||||
if (party.id) {
|
||||
api.endpoints.parties.update(party.id, {
|
||||
'party': { 'is_extra': event.target.checked }
|
||||
'party': { 'extra': event.target.checked }
|
||||
}, headers)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue