Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
new build
Browse files Browse the repository at this point in the history
  • Loading branch information
lealhugui committed Mar 22, 2022
1 parent bc96f12 commit f21a346
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions lib/factory/webservices/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit f21a346

Please sign in to comment.