Skip to content

Commit

Permalink
Fix application form place id
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucieo committed Feb 21, 2024
1 parent b6403c6 commit 9b422ce
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const ApplicationForm = ({
events: ScheduleEvent[]
place: Espace
}) => {
console.log(place)
const { applications } = useCurrentUser()
const { t } = useTranslation('place')
const schema = yup.object().shape({
Expand Down Expand Up @@ -99,7 +100,7 @@ const ApplicationForm = ({
form: new FormData(),
data: {
company: user.id,
place: place.id,
place: place.users_permissions_user.id,
disponibility: event?.extendedProps?.id,
campaign: currentCampaign?.id,
},
Expand Down

0 comments on commit 9b422ce

Please sign in to comment.