Skip to content

Commit

Permalink
fix: update status registration
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnypaulino committed Jan 3, 2025
1 parent 6082f8c commit facba7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/PreRegistration/request.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const requestRegistrationClassroom = (data: CreateRegistrationClassroomTy
export const requestUpdateRegistration = (data: any, id: number) => {


const body = { ...data, color_race: data.color_race?.id, sex: data.sex?.id, deficiency: data.deficiency.id, status: data.status?.id, state_fk: data.state, city_fk: data.city, cep: data.cep.replace(/[^a-zA-Z0-9 ]/g, '') }
const body = { ...data, color_race: data.color_race?.id, sex: data.sex?.id, deficiency: data.deficiency.id, status: data.status?.id, state_fk: data.state, city_fk: data.city, cep: data?.cep?.replace(/[^a-zA-Z0-9 ]/g, '') }

delete body.city

Expand Down

0 comments on commit facba7b

Please sign in to comment.