Ver código fonte

feat(web): add body in `delete` HTTP Request block

Ahmad Kholid 1 ano atrás
pai
commit
b9cd831598

+ 1 - 1
src/components/newtab/workflow/edit/EditWebhook.vue

@@ -174,7 +174,7 @@ const emit = defineEmits(['update:data']);
 const { t } = useI18n();
 const { t } = useI18n();
 
 
 const methods = ['GET', 'POST', 'PUT', 'PATCH', 'DELETE'];
 const methods = ['GET', 'POST', 'PUT', 'PATCH', 'DELETE'];
-const notHaveBody = ['GET', 'DELETE'];
+const notHaveBody = ['GET'];
 const copyHeaders = JSON.parse(JSON.stringify(props.data.headers));
 const copyHeaders = JSON.parse(JSON.stringify(props.data.headers));
 
 
 const activeTab = ref('headers');
 const activeTab = ref('headers');