mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-21 21:53:30 +00:00
Add picture size in sas api
This commit is contained in:
parent
cb1aa8bef0
commit
0c566cfbde
@ -17,7 +17,7 @@ class PictureFilterSchema(FilterSchema):
|
||||
class PictureSchema(ModelSchema):
|
||||
class Meta:
|
||||
model = Picture
|
||||
fields = ["id", "name", "date"]
|
||||
fields = ["id", "name", "date", "size"]
|
||||
|
||||
author: SimpleUserSchema = Field(validation_alias="owner")
|
||||
full_size_url: str
|
||||
|
Loading…
Reference in New Issue
Block a user