Co-authored-by: thisProjects <wibbet@wobbet.com>
This commit is contained in:
parent
0aefe9faf5
commit
32f8c06390
@ -126,6 +126,9 @@ export default function EditStorage() {
|
||||
const handleSave = async () => {
|
||||
setSubmitStatus(createInputStatus(STATUS_PROCESSING));
|
||||
const postValue = formDataValues;
|
||||
if (postValue?.servingEndpoint) {
|
||||
postValue.servingEndpoint = postValue?.servingEndpoint?.replace(/\/+$/g, '');
|
||||
}
|
||||
|
||||
await postConfigUpdateToAPI({
|
||||
apiPath: API_S3_INFO,
|
||||
|
Loading…
x
Reference in New Issue
Block a user