We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbcd33e commit a707acaCopy full SHA for a707aca
1 file changed
index.js
@@ -485,7 +485,18 @@ const reportRequestHandler = async (request, h) => {
485
fee: { params: ['uid'] },
486
cancel: { params: ['dbkey'] },
487
holdexpiration: { params: ['data'] }
488
- }
+ const reports = {
489
+ userkey: { params: ['uid'] },
490
+ userbarcode: { params: ['ukey'] },
491
+ hold: { params: ['uid'] },
492
+ courtesy: { params: ['uid'] },
493
+ overdue: { params: ['uid'] },
494
+ chkcharge: { params: ['uid', 'id'] },
495
+ chkhold: { params: ['ikey'] },
496
+ fee: { params: ['uid'] },
497
+ cancel: { params: ['dbkey'] },
498
+ holdexpiration: { params: ['data'] }
499
+ }
500
501
const reportName = request.query.report
502
const reportConfig = reports[reportName]
0 commit comments