Setup pipeline ready for testing

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-10-12 22:00:13 +01:00
parent 45fdf1904d
commit e3097b1af9
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,7 @@ async function findByTiplocArray(tiplocArray: string[]) {
return res;
} else {
let partial = await findPartialMatchByTiploc(tiplocArray);
return partial
return partial;
}
}
@ -108,6 +108,7 @@ async function findPartialMatchByTiploc(tiplocArray: string[]) {
const res = await queryAggregate('pis', pipeline)
console.log(JSON.stringify(res))
return res
}
module.exports = {