apiPath does not need an extra slash now

This commit is contained in:
jasquat 2024-03-27 13:09:37 -04:00
parent d32f86300f
commit 639ba78037
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ export default function Extension({
if (pageComponent && pageComponent.on_form_submit) {
apiPathRaw = pageComponent.on_form_submit.api_path.replace(/^\/?/, '/');
if (!pageComponent.on_form_submit.is_full_api_path) {
apiPathRaw = `${targetUris.extensionListPath}/${apiPathRaw}`;
apiPathRaw = `${targetUris.extensionListPath}${apiPathRaw}`;
} else {
postBody = dataToSubmit;
}