Skip to content

Commit

Permalink
hot-fix: set TGE default service amount to 10 AUD
Browse files Browse the repository at this point in the history
  • Loading branch information
danh91 committed Mar 25, 2024
1 parent 6052bc5 commit 841ee30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/connectors/tge/karrio/providers/tge/rate.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def rate_request(
lib.to_int(
options.tge_extra_services_amount.state
or options.declared_value.state
or 0
or 10
)
),
)
Expand Down
2 changes: 1 addition & 1 deletion modules/connectors/tge/tests/tge/test_rate.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def test_parse_error_response(self):
},
"FreightMode": "Road",
"ShipmentFinancials": {
"ExtraServicesAmount": {"Currency": "AUD", "Value": "0"}
"ExtraServicesAmount": {"Currency": "AUD", "Value": "10"}
},
"ShipmentFlags": {"ExtraServiceFlag": "true"},
"ShipmentItems": {
Expand Down

0 comments on commit 841ee30

Please sign in to comment.