Update admin_backups.py

The return was missing from this function, so I added one.
This commit is contained in:
Jason Frank 2025-07-14 13:19:37 -05:00 committed by GitHub
commit b60875c21a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -94,6 +94,7 @@ class AdminBackupController(BaseAdminController):
if not dest.is_file():
raise HTTPException(status.HTTP_400_BAD_REQUEST)
return SuccessResponse.respond("Upload successful")
@router.post("/{file_name}/restore", response_model=SuccessResponse)
def import_one(self, file_name: str):