mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
Update admin_backups.py
The return was missing from this function, so I added one.
This commit is contained in:
parent
c237b33126
commit
b60875c21a
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue