From e76731f18a3641a44cb9edd2020bfbb3f3398cce Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 25 May 2023 21:52:23 +0100 Subject: [PATCH] Add notes Signed-off-by: Fred Boniface --- src/services/pis.services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/pis.services.js b/src/services/pis.services.js index be72507..f37cfc3 100644 --- a/src/services/pis.services.js +++ b/src/services/pis.services.js @@ -39,7 +39,7 @@ async function findPisByCode(code) { async function findRandom() { log.out('pisServices.findRandom: Finding five random PIS Codes', 'dbug'); - const query = { + const query = { // Doesn't work, need aggregation $sample: { size: 5 }