Skip to content

Commit 43885fd

Browse files
committed
chore: update lab 706 report source table and restore authorization in route configuration
1 parent d8783d5 commit 43885fd

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

app/reporting-framework/json-reports/lab-706-base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"uses": [],
77
"sources": [
88
{
9-
"table": "etl.flat_blood_chemistry",
9+
"table": "etl.flat_moh_706_report",
1010
"alias": "fbc"
1111
},
1212
{

app/routes/lab-706.route.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ const routes = [
99
method: 'GET',
1010
path: '/etl/lab-706',
1111
config: {
12-
// plugins: {
13-
// hapiAuthorization: {
14-
// role: privileges.canViewClinicDashBoard
15-
// }
16-
// },
17-
// auth: false,
12+
plugins: {
13+
hapiAuthorization: {
14+
role: privileges.canViewClinicDashBoard
15+
}
16+
},
1817
handler: function (request, reply) {
1918
preRequest.resolveLocationIdsToLocationUuids(request, function () {
2019
let requestParams = Object.assign({}, request.query, request.params);

0 commit comments

Comments
 (0)