diff --git a/app/api.py b/app/api.py index 7fa8767..c594596 100644 --- a/app/api.py +++ b/app/api.py @@ -114,7 +114,7 @@ def register_api(app): # Create a unique zip file name zip_name = f"files_{datetime.now().strftime('%Y%m%d%H%M%S')}.zip" - zip_path = create_zip(valid_file_paths, zip_name) + zip_path = create_zip(valid_file_paths, zip_name, app) # Log the directory and file path for debugging current_app.logger.debug(f"Sending file from directory: temp, file: {zip_name}")