Setup pipeline ready for testing
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
45fdf1904d
commit
e3097b1af9
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user