Json dump result
This commit is contained in:
@@ -52,8 +52,8 @@ class SimbrellaIntegration:
|
|||||||
'response': response,
|
'response': response,
|
||||||
'status': response.status_code
|
'status': response.status_code
|
||||||
}
|
}
|
||||||
|
return json.dumps(result)
|
||||||
return result.json()
|
#return result.json()
|
||||||
except requests.exceptions.RequestException as err:
|
except requests.exceptions.RequestException as err:
|
||||||
logger.error(f"RACCheck API call failed: {str(err)}", exc_info=True)
|
logger.error(f"RACCheck API call failed: {str(err)}", exc_info=True)
|
||||||
return {"error": "RACCheck API error"}
|
return {"error": "RACCheck API error"}
|
||||||
|
|||||||
Reference in New Issue
Block a user