Skip to content

Commit

Permalink
fix: audit paging (#3421)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg committed Feb 15, 2024
1 parent af847e9 commit 32f3b0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/common/services/useAuditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Res } from 'common/types/responses'
import { Req } from 'common/types/requests'
import { service } from 'common/service'
import Utils from 'common/utils/utils'
import transformCorePaging from 'common/transformCorePaging'

export const auditLogService = service
.enhanceEndpoints({ addTagTypes: ['AuditLog'] })
Expand All @@ -24,6 +25,7 @@ export const auditLogService = service
url: `audit/?${Utils.toParam(params)}`,
}
},
transformResponse: (res, _, req) => transformCorePaging(req, res),
}),
// END OF ENDPOINTS
}),
Expand Down

0 comments on commit 32f3b0a

Please sign in to comment.