UI: Fix credentials url in ConfigurePage
This commit is contained in:
parent
55f95891e1
commit
7c9a95100a
|
@ -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'},
|
||||
|
|
Loading…
Reference in New Issue