diff options
author | Sebastian <sebasjm@gmail.com> | 2021-08-05 15:23:39 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-08-05 15:26:25 -0300 |
commit | 29d525a74c9cb8af93621e956a6ce00d1bf9d6fe (patch) | |
tree | bd25aca446379236466669405a10fad39e4ef43e /bin | |
parent | b64e4801ce92e257e93e03b0c97ed221fe0f12d3 (diff) | |
download | deployment-29d525a74c9cb8af93621e956a6ce00d1bf9d6fe.tar.gz deployment-29d525a74c9cb8af93621e956a6ce00d1bf9d6fe.tar.bz2 deployment-29d525a74c9cb8af93621e956a6ce00d1bf9d6fe.zip |
issue #6945
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/taler-deployment-config-instances | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/taler-deployment-config-instances b/bin/taler-deployment-config-instances index 8c827fa..4d55919 100755 --- a/bin/taler-deployment-config-instances +++ b/bin/taler-deployment-config-instances @@ -62,7 +62,7 @@ authorization_header = {"Authorization": f"Bearer {TALER_ENV_FRONTENDS_APITOKEN} def ensure_instance(instance_id, name, payto_uris, auth): resp = requests.get( - urljoin(MERCHANT_BACKEND_BASE_URL, f"private/instances/{instance_id}"), + urljoin(MERCHANT_BACKEND_BASE_URL, f"management/instances/{instance_id}"), headers = authorization_header ) @@ -72,7 +72,7 @@ def ensure_instance(instance_id, name, payto_uris, auth): print(f"Patching (auth of) instance '{instance_id}'") patch_resp = requests.post( urljoin(MERCHANT_BACKEND_BASE_URL, - f"private/instances/{instance_id}/auth"), + f"management/instances/{instance_id}/auth"), json=auth, headers = authorization_header ) @@ -96,7 +96,7 @@ def ensure_instance(instance_id, name, payto_uris, auth): auth=auth, ) create_resp = requests.post( - urljoin(MERCHANT_BACKEND_BASE_URL, "private/instances"), + urljoin(MERCHANT_BACKEND_BASE_URL, "management/instances"), json=req, headers = authorization_header ) |