UI: Fix credentials url in ConfigurePage

This commit is contained in:
Ilija Lazoroski 2022-07-19 10:09:09 +02:00
parent 55f95891e1
commit 7c9a95100a
1 changed files with 2 additions and 2 deletions

View File

@ -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'},