mirror of
https://github.com/ae-utbm/sith.git
synced 2025-09-13 19:45:50 +00:00
WIP
This commit is contained in:
@@ -56,7 +56,12 @@ class AlbumAutocompleteSchema(ModelSchema):
|
||||
|
||||
@staticmethod
|
||||
def resolve_path(obj: Album) -> str:
|
||||
return str(Path(obj.get_parent_path()) / obj.name)
|
||||
return str(Path(obj.parent_path) / obj.name)
|
||||
|
||||
|
||||
class MoveAlbumSchema(Schema):
|
||||
id: int
|
||||
new_parent_id: int
|
||||
|
||||
|
||||
class PictureFilterSchema(FilterSchema):
|
||||
|
Reference in New Issue
Block a user