Skip to content

Commit 79ba7de

Browse files
Merge pull request #190 from alexanderjordanbaker/UpdatingAPIURLs
Updating API URLs
2 parents c9810e8 + 4ab20fa commit 79ba7de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

appstoreserverlibrary/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,11 +696,11 @@ def __init__(self, signing_key: bytes, key_id: str, issuer_id: str, bundle_id: s
696696
if environment == Environment.XCODE:
697697
raise ValueError("Xcode is not a supported environment for an AppStoreServerAPIClient")
698698
if environment == Environment.PRODUCTION:
699-
self._base_url = "https://api.storekit.itunes.apple.com"
699+
self._base_url = "https://api.storekit.apple.com"
700700
elif environment == Environment.LOCAL_TESTING:
701701
self._base_url = "https://local-testing-base-url"
702702
elif environment == Environment.SANDBOX:
703-
self._base_url = "https://api.storekit-sandbox.itunes.apple.com"
703+
self._base_url = "https://api.storekit-sandbox.apple.com"
704704
else:
705705
raise ValueError("Invalid environment provided")
706706
self._signing_key = serialization.load_pem_private_key(signing_key, password=None, backend=default_backend())

0 commit comments

Comments
 (0)