mirror of
https://github.com/ae-utbm/sith.git
synced 2026-05-02 11:26:08 +00:00
add update date to SithFile model
This commit is contained in:
+9
-1
@@ -70,7 +70,15 @@ class PictureFilterSchema(FilterSchema):
|
||||
class PictureSchema(ModelSchema):
|
||||
class Meta:
|
||||
model = Picture
|
||||
fields = ["id", "name", "date", "size", "is_moderated", "asked_for_removal"]
|
||||
fields = [
|
||||
"id",
|
||||
"name",
|
||||
"date",
|
||||
"updated_at",
|
||||
"size",
|
||||
"is_moderated",
|
||||
"asked_for_removal",
|
||||
]
|
||||
|
||||
owner: UserProfileSchema
|
||||
sas_url: str
|
||||
|
||||
Reference in New Issue
Block a user