Skip to content

Commit

Permalink
Revert "col20: introduction of an incoming feature."
Browse files Browse the repository at this point in the history
This reverts commit 13c1b66.
  • Loading branch information
funilrys committed Oct 11, 2024
1 parent ee5b8ae commit d8f7aba
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions PyFunceble/query/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d8f7aba

Please sign in to comment.