fixup api_key name change

for/master
Harald Welte 2 years ago
parent 3001d7a8de
commit 95160dd623
  1. 2
      models/shipcloud_delivery_carrier.py

@ -171,7 +171,7 @@ class SCDeliveryCarrier(models.Model):
def _shipcloud_api(self):
config = self._get_config()
api_key = config['sc_api_key']
api_key = config['sc_api_key_prod']
sandbox_api_key = None if config['sc_api_use_prod'] else config['sc_api_key_sandbox']
return shipcloud.api(api_key, sandbox_api_key)

Loading…
Cancel
Save