Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-05-24 21:14:35 +01:00
parent 11ece9c80e
commit 848d96bd2e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;
} }