misc: made audit log endpoint mi accessible

This commit is contained in:
Sheen Capadngan
2024-10-14 17:09:49 +08:00
parent 1f4db2bd80
commit 08145f9b96

View File

@@ -138,7 +138,7 @@ export const registerOrgRouter = async (server: FastifyZodProvider) => {
})
}
},
onRequest: verifyAuth([AuthMode.JWT]),
onRequest: verifyAuth([AuthMode.JWT, AuthMode.IDENTITY_ACCESS_TOKEN]),
handler: async (req) => {
const auditLogs = await server.services.auditLog.listAuditLogs({
filter: {