genarative cores
This commit is contained in:
@@ -12,7 +12,8 @@ from app.api.services import (
|
||||
WebContentsService,
|
||||
SubscriptionsService,
|
||||
CommonDataService,
|
||||
OfficeCustomerService
|
||||
OfficeCustomerService,
|
||||
GenerativesService
|
||||
)
|
||||
from app.utils.logger import logger
|
||||
from app.api.middlewares import enforce_json, require_auth
|
||||
@@ -376,6 +377,15 @@ def get_web_contents():
|
||||
result = WebContentsService.get_web_contents_data(provision_uid)
|
||||
return jsonify(result)
|
||||
|
||||
#=====================================================
|
||||
@api.route('/web/generatives', methods=['GET'])
|
||||
def get_refresh_generatives():
|
||||
logger.info("START TO ENTER GENERATIVE")
|
||||
# Call the dashboard service
|
||||
data = []
|
||||
result = GenerativesService.process_generatives_list(data)
|
||||
return jsonify(result)
|
||||
|
||||
#===================================================
|
||||
# Common Data
|
||||
#=====================================================
|
||||
|
||||
Reference in New Issue
Block a user