Fix bug
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
11ece9c80e
commit
848d96bd2e
@ -1,6 +1,6 @@
|
||||
const version = {
|
||||
api: ['/api/v1/',],
|
||||
app: '2023.5.1'
|
||||
app: '2023.5.2'
|
||||
};
|
||||
|
||||
module.exports = version;
|
@ -33,7 +33,7 @@ async function findPisByCode(code) {
|
||||
const query = {
|
||||
code: cleanCode
|
||||
};
|
||||
const search = db.query('pis', query);
|
||||
const search = db.query('pis', parseInt(query));
|
||||
return await search;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user