Updated comments

This commit is contained in:
Fred Boniface 2022-12-08 20:39:32 +00:00
parent 20c1f8d25d
commit 7c8a79b624

View File

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