We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 21eb183 + 5daf931 commit a9eabcfCopy full SHA for a9eabcf
1 file changed
src/components/tree/import.tsx
@@ -13,7 +13,7 @@ const Import: React.FC<ModalFormProps> = ({ initialData, type, adaptorKey, treeD
13
const formData = new FormData(formRef.current);
14
const formValues = Object.fromEntries(formData.entries()) as { endpointId: string, text: any, format: string };
15
formValues.endpointId = initialData.id;
16
- formValues.format = "openAPI";
+ // formValues.format = "json";
17
type === 'Edit' ?
18
// await axios.post('/api/endpoints/' + adaptorKey + '/create', formValues).then(req => {
19
// setImportState(true);
0 commit comments