From 1e5ff19d336c225985532abb8580efb211a0d9b1 Mon Sep 17 00:00:00 2001 From: Ornella <68587983+Ornella452@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:04:01 +0200 Subject: [PATCH] fix cra (#690) --- src/services/cra.service.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/cra.service.js b/src/services/cra.service.js index 1eaf2f6a..c1ba369d 100644 --- a/src/services/cra.service.js +++ b/src/services/cra.service.js @@ -13,7 +13,8 @@ export const craService = { const apiUrlRoot = import.meta.env.VITE_APP_API; function createCra(cra) { - const { ...craObj } = cra; + // eslint-disable-next-line no-unused-vars + const { idStructure, ...craObj } = cra; const requestOptions = { method: 'POST',