mirror of
https://github.com/ae-utbm/sith.git
synced 2025-12-20 06:43:21 +00:00
WIP
This commit is contained in:
@@ -55,7 +55,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