@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user