generative actions

This commit is contained in:
CHIEFSOFT\ameye
2026-05-09 07:10:07 -04:00
parent bd7aae51ab
commit 26b6c1fa63
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -931,8 +931,8 @@ def refresh_daily_report():
# Generative Actions
@api.route("/auto/generativeAction", methods=["GET"])
def refresh_generative_action():
data = request.get_json()
logger.info(f"Generative Actions ==>>>> {data}")
data = {}
logger.info(f"Generative Actions ==>>>>")
GenerativesService.process_generatives_list(data) #INITIATE GENERATIVES
return {"status": "ok"}, 200
+2
View File
@@ -283,6 +283,8 @@ class BaseService:
# Convert the JSON response to a Python dictionary
res_data = response.json()
logger.info(f"Response Site Images: {res_data}")
else:
res_data={}
response_data = {
"provision_uid": str(provision_uid),