Skip to content

Commit

Permalink
fix: event base schema timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Cervello committed Oct 28, 2021
1 parent 7fdf34f commit 6ca13a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/schemas.py
Expand Up @@ -6,7 +6,7 @@

class EventBase(BaseModel):
event_type: str
timestamp: datetime = datetime.utcnow()
timestamp: Optional[datetime]
user_id: Optional[str]
barcode: Optional[str]
points: Optional[int]
Expand Down

0 comments on commit 6ca13a6

Please sign in to comment.