Fix logs
This commit is contained in:
@@ -151,12 +151,19 @@ class WebContentsService(BaseService):
|
||||
try:
|
||||
payload = {'provision_uid': provision_uid, 'flavor': selected_flavor}
|
||||
logger.info(f"api_url: {str(api_url)}")
|
||||
logger.info(f"selected_flavor: {str(selected_flavor)}")
|
||||
|
||||
# Make the GET request
|
||||
res_data = []
|
||||
response = requests.get(api_url, params=payload)
|
||||
if response.status_code == 200:
|
||||
# Convert the JSON response to a Python dictionary
|
||||
res_data = response.json()
|
||||
logger.info(f"Response Site Images: {res_data}")
|
||||
|
||||
response_data = {
|
||||
"provision_uid": provision_uid,
|
||||
# "member_id": member_id,
|
||||
"data": res_data,
|
||||
# "product_id": product_id,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user