Fix beneficiaries issue with File numbers

This commit is contained in:
Arnaud Delcasse 2022-11-07 03:08:59 +01:00
parent 58f5a23d1d
commit 203aadaee1
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ COPY . .
RUN go mod download && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /server
RUN rm -r themes/*
RUN git clone --depth 1 https://git.coopgo.io/coopgo-apps/parcoursmob-default-theme themes/default
RUN git clone -b spie06 --depth 1 https://git.coopgo.io/coopgo-apps/parcoursmob-default-theme themes/spie06

View File

@ -36,7 +36,7 @@ type BeneficiariesForm struct {
Email string `json:"email" validate:"required,email"`
Birthdate *time.Time `json:"birthdate" validate:"required"`
PhoneNumber string `json:"phone_number" validate:"required,phoneNumber"`
FileNumber string `json:"file_number" validate:"required"`
FileNumber string `json:"file_number"`
Address any `json:"address,omitempty"`
Gender string `json:"gender"`
}