Include backup_id in delete call

This commit is contained in:
amcmanu3 2024-07-08 21:51:27 -04:00
parent 90e11ef73e
commit 9186d9b02c

View File

@ -414,10 +414,13 @@ class ApiServersServerBackupsBackupFilesIndexHandler(BaseApiHandler):
"error_data": str(e),
},
)
try:
FileHelpers.del_file(
os.path.join(backup_conf["backup_location"], data["filename"])
os.path.join(
backup_conf["backup_location"],
backup_conf["backup_id"],
data["filename"],
)
)
except Exception as e:
return self.finish_json(