mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-02-18 07:14:40 +00:00
Register volume migration mutation
This commit is contained in:
parent
bb99c2ba58
commit
130ab61d4b
|
@ -78,6 +78,7 @@ class StorageMutations:
|
|||
success=False, code=409, message="Volume not unmounted (already unmounted?)"
|
||||
)
|
||||
|
||||
@strawberry.mutation(permission_classes=[IsAuthenticated])
|
||||
def migrate_to_binds(self, input: MigrateToBindsInput) -> GenericJobButationReturn:
|
||||
"""Migrate to binds"""
|
||||
if not is_bind_migrated():
|
||||
|
|
Loading…
Reference in a new issue