Skip to content

Commit

Permalink
fix: fix ProofCreate schema
Browse files Browse the repository at this point in the history
the proof type is not mandatory
  • Loading branch information
raphael0202 committed Dec 14, 2023
1 parent 494bb96 commit ed34567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class ProofCreate(BaseModel):

file_path: str
mimetype: str
type: ProofTypeEnum
type: ProofTypeEnum | None = None


class ProofBase(ProofCreate):
Expand Down

0 comments on commit ed34567

Please sign in to comment.