From 7f677f037650a0cf0b740ecb73faa99192f2e7f0 Mon Sep 17 00:00:00 2001 From: "rodrigo.zamboni" Date: Tue, 3 May 2022 16:54:03 -0300 Subject: [PATCH] FIX: Fix mistaken routes method --- src/modules/catalog/catalog.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/catalog/catalog.service.ts b/src/modules/catalog/catalog.service.ts index 06b6a5a..0fc5a28 100644 --- a/src/modules/catalog/catalog.service.ts +++ b/src/modules/catalog/catalog.service.ts @@ -371,7 +371,7 @@ class CatalogService { ? `https://nimbus-${body.info.customer.toLowerCase()}.dadosfera.ai` : `${process.env.NIMBUS_BASE_URL}${customer}.${process.env.ENV}.dadosfera`; - const { data } = await axios.get( + const { data } = await axios.post( `${nimbusUrl}/api/catalog/data-comment/`, body, ); @@ -406,7 +406,7 @@ class CatalogService { ? `https://nimbus-${body.info.customer.toLowerCase()}.dadosfera.ai` : `${process.env.NIMBUS_BASE_URL}${customer}.${process.env.ENV}.dadosfera`; - const { data } = await axios.get(`${nimbusUrl}/api/catalog/tags/`, body); + const { data } = await axios.post(`${nimbusUrl}/api/catalog/tags/`, body); return data; } @@ -469,7 +469,7 @@ class CatalogService { ? `https://nimbus-${body.info.customer.toLowerCase()}.dadosfera.ai` : `${process.env.NIMBUS_BASE_URL}${customer}.${process.env.ENV}.dadosfera`; - const { data } = await axios.get( + const { data } = await axios.post( `${nimbusUrl}/api/catalog/table-tags/`, body, );