Skip to content

Commit 45c5632

Browse files
committed
refactor: rename callgent-function to endpoint
Signed-off-by: dev-callgent <dev@callgent.com>
1 parent 95c5182 commit 45c5632

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/tree/import.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const Import: React.FC<ModalFormProps> = ({ initialData, type, adaptorKey, treeD
3030
// });
3131
null
3232
:
33-
await axios.post('/api/bff/callgent-functions/import', formValues).then((req) => {
33+
await axios.post('/api/bff/endpoints/import', formValues).then((req) => {
3434
const { data } = req.data;
3535
setTimeout(onClose, 350);
3636
data

src/components/user-as-a-service/import-api.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const ImportApi = () => {
1818
text: textareaRef.current?.value || '',
1919
format: "openAPI"
2020
}
21-
await axios.post('/api/callgent-functions/import', body).then(req => {
21+
await axios.post('/api/endpoints/import', body).then(req => {
2222
setImportState(true);
2323
}).catch(error => {
2424
const { data } = error.response;

0 commit comments

Comments
 (0)