mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
Fix success message upon photo upload
This commit is contained in:
parent
58ba7ce144
commit
9c1ee4ffcd
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ async def update_user_image(
|
||||||
shutil.copyfileobj(profile_image.file, buffer)
|
shutil.copyfileobj(profile_image.file, buffer)
|
||||||
|
|
||||||
if dest.is_file:
|
if dest.is_file:
|
||||||
return SnackResponse.success("Backup uploaded")
|
return SnackResponse.success("File uploaded")
|
||||||
else:
|
else:
|
||||||
return SnackResponse.error("Failure uploading file")
|
return SnackResponse.error("Failure uploading file")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue