generative actions
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user