diff --git a/src/services/pis.services.js b/src/services/pis.services.js index a053130..e4e0e07 100644 --- a/src/services/pis.services.js +++ b/src/services/pis.services.js @@ -31,7 +31,7 @@ async function findPisByCode(code) { log.out(`pisServices.findPisByCode: Searching for PIS code: ${code}`); const cleanCode = clean.removeNonNumeric(code); const query = { - code: cleanCode + 'code': cleanCode }; const search = db.query('pis', parseInt(query)); return await search;