Skip to content

Commit

Permalink
also consider the siren
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaupetit committed Jan 8, 2025
1 parent e925d70 commit 08d069a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/qualicharge/models/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def not_future(value: date):
DEFAULT_CHAR_VALUE: str = "NA"
DEFAULT_EMAIL_ADDRESS: str = "[email protected]"
DEFAULT_PHONE_NUMBER: FrenchPhoneNumber = FrenchPhoneNumber("+33.123456789")
DEFAULT_SIREN_NUMBER: str = "123456789"


class Statique(ModelSchemaMixin, BaseModel):
Expand All @@ -140,7 +141,7 @@ class Statique(ModelSchemaMixin, BaseModel):
],
),
]
] = "123456789"
] = DEFAULT_SIREN_NUMBER
contact_amenageur: Optional[EmailStr] = DEFAULT_EMAIL_ADDRESS
nom_operateur: Optional[str] = DEFAULT_CHAR_VALUE
contact_operateur: EmailStr
Expand Down

0 comments on commit 08d069a

Please sign in to comment.