Skip to content

Commit

Permalink
Update schemas.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AnniePacheco authored Nov 5, 2024
1 parent 6454929 commit 58acdbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class AssetSchema(AssetBaseSchema):

# Share schemas
class ShareBaseSchema(BaseModel):
resource_id: str
resource_id: Optional[str]
user_id: Optional[str] = None
expiration_dt: Optional[datetime] = None
is_revoked: Optional[bool] = False
Expand Down Expand Up @@ -209,4 +209,4 @@ class FileCreateSchema(FileBaseSchema):
pass

class FileSchema(FileBaseSchema):
id: str
id: str

0 comments on commit 58acdbf

Please sign in to comment.