fix(servers): hopefully fix moving

This commit is contained in:
Houkime 2023-07-14 10:58:31 +00:00
parent 92cfd00f93
commit 4aa87edf47

View file

@ -35,13 +35,11 @@ class FolderMoveNames(BaseModel):
return path.split("/")[-1]
@staticmethod
def default_foldermoves(service: Service):
return (
[
def default_foldermoves(service: Service) -> list[FolderMoveNames]:
return [
FolderMoveNames.from_owned_path(folder)
for folder in service.get_owned_folders()
],
)
]
@huey.task()