Skip to content

Commit 93acba1

Browse files
committed
NOT DONE
1 parent 9c83030 commit 93acba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/services/incident-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export class IncidentService {
146146
.innerJoin("incident_types", "incident_types.id", "incidents.incident_type_id")
147147
.innerJoin("incident_statuses", "incident_statuses.code", "incidents.status_code")
148148
.innerJoin("departments", "departments.code", "incidents.department_code")
149-
.whereRaw(`LOWER("incident_users_view"."user_email") = '${email.toLowerCase()}'`)
149+
.whereRaw(`LOWER("incident_users_view"."user_email") = '${email.toLowerCase()}'`) // limit to supervisor only
150150
.select(
151151
"incidents.*",
152152
"incident_types.name as incident_type_name",

0 commit comments

Comments
 (0)