updating log interceptor for read role
All checks were successful
Pull Request / changes (pull_request) Successful in 25s
Pull Request / build (pull_request) Has been skipped

This commit is contained in:
2026-05-20 21:27:06 -05:00
parent f0b61703b7
commit 674ae1cf3c
2 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ export class LogInterceptor implements NestInterceptor {
if (jwtPayload[rolesKeyName].includes('Flying.Read')) {
if (data.entities) {
const logs = data.entities.map((entity) => limitData(data.entities));
const logs = data.entities.map((entity) => limitData(entity));
return {
entities: logs,