From 7c8a79b6240b876d12c8291bed78b1a58d377866 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 8 Dec 2022 20:39:32 +0000 Subject: [PATCH] Updated comments --- src/services/ldb.services.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/services/ldb.services.js b/src/services/ldb.services.js index 7399063..5bd5965 100644 --- a/src/services/ldb.services.js +++ b/src/services/ldb.services.js @@ -1,8 +1,11 @@ // Parse and return an LDB Request // FUNCTIONS -// returnBoard(staff, ) : [staff: BOOL, whether to use the staff or public API] -// post() : Exported: Will check the API authentication and return status +// findBoard(input, staff): Exported: + // input: [str, CRS or TIPLOC, staff: BOOL, use staff API or not] + // Runs checks on input data and calls an internal function to get data. + +// convertTiploc() : Exported: Looks up CRS, Name & STANOX for Tiploc const ldb = require('ldbs-json') const keys = require('/srv/keys/owlboard/keys.configs')