Updated comments

This commit is contained in:
Fred Boniface 2022-12-08 20:39:32 +00:00
parent 20c1f8d25d
commit 7c8a79b624
1 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,11 @@
// Parse and return an LDB Request // Parse and return an LDB Request
// FUNCTIONS // FUNCTIONS
// returnBoard(staff, ) : [staff: BOOL, whether to use the staff or public API] // findBoard(input, staff): Exported:
// post() : Exported: Will check the API authentication and return status // 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 ldb = require('ldbs-json')
const keys = require('/srv/keys/owlboard/keys.configs') const keys = require('/srv/keys/owlboard/keys.configs')