From c6b547bc5594c0bef575dd517a6ef7ce0ea4b545 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 22 Nov 2024 10:04:17 +0100 Subject: [PATCH] perf: change fn name --- src/components/FormModel.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 0b6e270ad..09a78c298 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -196,7 +196,7 @@ async function fetch() { originalData.value = {}; } } -function HandleRequestArgs() { +function handleRequestArgs() { const isUrlCreate = $props.urlCreate; const differences = getDifferences(formData.value, originalData.value); return { @@ -216,7 +216,7 @@ async function save() { isLoading.value = true; try { formData.value = trimData(formData.value); - const { method, body, url } = HandleRequestArgs(); + const { method, body, url } = handleRequestArgs(); let response;