@crawly/grasshopper-parser-avianca
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -337,3 +337,5 @@ "use strict"; | ||
} | ||
throw new FlightsNotFound_1.FlightsNotFound(E[0].message); | ||
if (E[0].code === '10031') { | ||
throw new FlightsNotFound_1.FlightsNotFound('A data da partida solicitada não está correta.'); | ||
} | ||
} | ||
@@ -340,0 +342,0 @@ throw new FlightsNotFound_1.FlightsNotFound('Sem disponibilidade para o período informado'); |
{ | ||
"name": "@crawly/grasshopper-parser-avianca", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "", | ||
"main": "index.js", | ||
"main": "parser.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "prepublish": "npm run tslint && npm run test && npm run build", |
@@ -508,3 +508,6 @@ import { Constants } from './lib/constants'; | ||
} | ||
throw new FlightsNotFound(E[0].message); | ||
if (E[0].code === '10031') { | ||
throw new FlightsNotFound('A data da partida solicitada não está correta.'); | ||
} | ||
} | ||
@@ -511,0 +514,0 @@ throw new FlightsNotFound('Sem disponibilidade para o período informado'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4115065
3654