less-log
All checks were successful
deploy / deploy (push) Successful in 1m15s

This commit is contained in:
Untone 2024-01-11 10:06:40 +03:00
parent 2d66870443
commit 74d80f1447

View File

@ -10,7 +10,7 @@ from settings import API_BASE
def _request_endpoint(query_name, body) -> dict: def _request_endpoint(query_name, body) -> dict:
print(f"[services.core] requesting {query_name}...") print(f"[services.core] requesting {query_name}...")
response = requests.post(API_BASE, headers={"Content-Type": "application/json"}, json=body) response = requests.post(API_BASE, headers={"Content-Type": "application/json"}, json=body)
print(f"[services.core] {query_name} response: <{response.status_code}> {response.text}..") print(f"[services.core] {query_name} response: <{response.status_code}> {response.text[:32]}..")
if response.status_code == 200: if response.status_code == 200:
try: try: