added eco integration
This commit is contained in:
@@ -3,6 +3,7 @@ from flask import current_app
|
||||
from app.extensions import mail
|
||||
import pandas as pd
|
||||
from io import BytesIO
|
||||
from app.utils.logger import logger
|
||||
|
||||
def get_report_data():
|
||||
"""
|
||||
@@ -36,5 +37,6 @@ def send_report_email(report_data: list, recipients: list):
|
||||
|
||||
with current_app.app_context():
|
||||
mail.send(msg)
|
||||
|
||||
|
||||
return "Report email sent"
|
||||
Reference in New Issue
Block a user