From d8f7aba757d6f260e13221a90a45611abcb51a72 Mon Sep 17 00:00:00 2001 From: funilrys Date: Fri, 11 Oct 2024 23:07:38 +0200 Subject: [PATCH] Revert "col20: introduction of an incoming feature." This reverts commit 13c1b6685b59976f0d32977d80235fc9c5553799. --- PyFunceble/query/platform.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/PyFunceble/query/platform.py b/PyFunceble/query/platform.py index 83dcc92f..eea7b5ef 100644 --- a/PyFunceble/query/platform.py +++ b/PyFunceble/query/platform.py @@ -763,11 +763,7 @@ def deliver_contract(self, contract: dict, contract_data: dict) -> Optional[dict if not isinstance(contract_data, dict) else contract_data ) - - if contract_id != contract["subject"]["id"]: - url = f"{self.url_base}/v1/contracts/{contract_id}/delivery" - else: - url = f"{self.url_base}/v1/contracts/self-delivery" + url = f"{self.url_base}/v1/contracts/{contract_id}/delivery" try: response = self.session.post(