mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: implement sane default pagination limit for audit logs (#13676)
* chore: implement sane default pagination limit for audit logs
This commit is contained in:
@@ -343,9 +343,6 @@ func TestAuditLogsFilter(t *testing.T) {
|
||||
t.Parallel()
|
||||
auditLogs, err := client.AuditLogs(ctx, codersdk.AuditLogsRequest{
|
||||
SearchQuery: testCase.SearchQuery,
|
||||
Pagination: codersdk.Pagination{
|
||||
Limit: 25,
|
||||
},
|
||||
})
|
||||
if testCase.ExpectedError {
|
||||
require.Error(t, err, "expected error")
|
||||
|
||||
Reference in New Issue
Block a user