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')