Skip to content

Commit f6cd0fd

Browse files
Add audit log in admin - v1
1 parent 58151c8 commit f6cd0fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/uid2/admin/auth/AdminAuthMiddleware.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ public Handler<RoutingContext> handle(Handler<RoutingContext> handler, AuditPara
5656
}
5757

5858
public Handler<RoutingContext> handle(Handler<RoutingContext> handler, Role... roles) {
59-
// change to AdminAuthMiddleware.class.getPackage().getName();
60-
return this.handle(handler, null, roles);
59+
return this.handle(handler, new AuditParams(AdminAuthMiddleware.class.getPackage().getName()), roles);
6160
}
6261

6362

0 commit comments

Comments
 (0)