diff --git a/src/services/pis.services.ts b/src/services/pis.services.ts index 7011116..57c4267 100644 --- a/src/services/pis.services.ts +++ b/src/services/pis.services.ts @@ -46,7 +46,7 @@ export async function findPisByCode( logger.debug(`pisServices.findPisByCode: Searching for PIS code: ${code}`); const cleanCode = clean.removeNonNumeric(code); const query = { - code: parseInt(cleanCode), + code: cleanCode, }; const search = db.query("pis", query); return await search;