Actually fixed now
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
1ad96ae20d
commit
a12951fe4f
@ -31,9 +31,9 @@ async function findPisByCode(code) {
|
||||
log.out(`pisServices.findPisByCode: Searching for PIS code: ${code}`);
|
||||
const cleanCode = clean.removeNonNumeric(code);
|
||||
const query = {
|
||||
'code': cleanCode
|
||||
'code': parseInt(cleanCode)
|
||||
};
|
||||
const search = db.query('pis', parseInt(query));
|
||||
const search = db.query('pis', query);
|
||||
return await search;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user