We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f01293b + a5f523c commit 8f8789eCopy full SHA for 8f8789e
src/components/providerAccountForm.jsx
@@ -191,7 +191,7 @@ class ProviderAccountForm extends React.Component {
191
body: JSON.stringify(newSecret),
192
}
193
194
- fetch('api/kubernetes/api/v1/namespaces/' + this.state.currentNS + '/secrets', postSecretRequestOpts)
+ await fetch('api/kubernetes/api/v1/namespaces/' + this.state.currentNS + '/secrets', postSecretRequestOpts)
195
.then((response) => response.json())
196
.then((data) => {
197
this.setState({ postResponse: data })
0 commit comments