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 = {
|
const version = {
|
||||||
api: ['/api/v1/',],
|
api: ['/api/v1/',],
|
||||||
app: '2023.5.1'
|
app: '2023.5.2'
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = version;
|
module.exports = version;
|
@ -33,7 +33,7 @@ async function findPisByCode(code) {
|
|||||||
const query = {
|
const query = {
|
||||||
code: cleanCode
|
code: cleanCode
|
||||||
};
|
};
|
||||||
const search = db.query('pis', query);
|
const search = db.query('pis', parseInt(query));
|
||||||
return await search;
|
return await search;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user