You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-22 22:07:12 +00:00
chore: removed reduant logging
This commit is contained in:
@@ -84,7 +84,6 @@ class AntifraudServiceInteractor:
|
|||||||
|
|
||||||
payload = {"user_email": user_email, "promo_id": promo_id}
|
payload = {"user_email": user_email, "promo_id": promo_id}
|
||||||
try:
|
try:
|
||||||
logger.info("Trying to validate antifraud")
|
|
||||||
with httpx.Client(timeout=5) as client:
|
with httpx.Client(timeout=5) as client:
|
||||||
response = cls._make_request(
|
response = cls._make_request(
|
||||||
client,
|
client,
|
||||||
@@ -95,7 +94,6 @@ class AntifraudServiceInteractor:
|
|||||||
)
|
)
|
||||||
|
|
||||||
if response:
|
if response:
|
||||||
logger.info("Antifraud works perfectly")
|
|
||||||
result = response.json()
|
result = response.json()
|
||||||
|
|
||||||
if "cache_until" in result:
|
if "cache_until" in result:
|
||||||
|
|||||||
Reference in New Issue
Block a user