From f21a3469dfe0a036ae7a0c4cf20433e4b62c0025 Mon Sep 17 00:00:00 2001 From: Guilherme Leal Date: Tue, 22 Mar 2022 08:54:33 -0300 Subject: [PATCH] new build --- lib/factory/webservices/functions.js | 29 +--------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/lib/factory/webservices/functions.js b/lib/factory/webservices/functions.js index a86fd54..f0c69d0 100644 --- a/lib/factory/webservices/functions.js +++ b/lib/factory/webservices/functions.js @@ -5,35 +5,8 @@ function getContentType(uf) { switch (uf) { case 'GO': return "application/soap+xml"; - case 'AC': - case 'AL': - case 'AP': - case 'DF': - case 'ES': - case 'MG': - case 'PB': - case 'RJ': - case 'RN': - case 'RO': - case 'RR': - case 'RS': - case 'SC': - case 'SE': - case 'SP': - case 'TO': - case 'AM': - case 'BA': - case 'CE': - case 'MA': - case 'MS': - case 'MT': - case 'PA': - case 'PE': - case 'PI': - case 'PR': - return "text/xml;charset=utf-8"; default: - throw new Error('Content Type não encontrado!'); + return "text/xml;charset=utf-8"; } } exports.getContentType = getContentType;