Skip to content

Commit

Permalink
Update client_mediator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ctri-The-Third committed Nov 26, 2023
1 parent 2f7a7fd commit c7dbc4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions straders_sdk/client_mediator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,9 @@ def contracts_fulfill(self, contract: "Contract") -> SpaceTradersResponse:
self.logging_client.update(transaction)

self.db_client.update(resp)
elif resp.error_code == 4504:
contract.fulfilled = True
self.db_client.update(contract)
return resp

def _headers(self) -> dict:
Expand Down

0 comments on commit c7dbc4c

Please sign in to comment.