mirror of
https://github.com/khoaliber/LetterFeed.git
synced 2026-03-06 13:22:19 +00:00
feat: replace counting id with unique id
This commit is contained in:
@@ -20,8 +20,8 @@ class EntryCreate(EntryBase):
|
||||
class Entry(EntryBase):
|
||||
"""Schema for retrieving an entry with its ID and newsletter ID."""
|
||||
|
||||
id: int
|
||||
newsletter_id: int
|
||||
id: str
|
||||
newsletter_id: str
|
||||
received_at: datetime.datetime
|
||||
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
Reference in New Issue
Block a user