From 7c9a95100a9a28bbef08e9b4ac4f1db2e8d84825 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Tue, 19 Jul 2022 10:09:09 +0200 Subject: [PATCH] UI: Fix credentials url in ConfigurePage --- .../monkey_island/cc/ui/src/components/pages/ConfigurePage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js index ea347d73a..cbf124cdf 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -117,7 +117,7 @@ class ConfigurePageComponent extends AuthComponent { } updateCredentials = () => { - this.authFetch(CREDENTIALS_URL) + this.authFetch(CONFIGURED_PROPAGATION_CREDENTIALS_URL) .then(res => res.json()) .then(credentials => { credentials = formatCredentialsForForm(credentials); @@ -278,7 +278,7 @@ class ConfigurePageComponent extends AuthComponent { let config = JSON.parse(JSON.stringify(this.state.configuration)) config = reformatConfig(config, true); - this.authFetch(CREDENTIALS_URL, + this.authFetch(CONFIGURED_PROPAGATION_CREDENTIALS_URL, { method: 'PATCH', headers: {'Content-Type': 'application/json'},