Skip to content

Commit

Permalink
is: Fix request
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaplots committed Oct 21, 2024
1 parent 7c1a970 commit 0b32d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/identityserver/registry_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (rs *registrySearch) SearchApplications(

ctx = store.WithOrder(ctx, req.Order)
var total uint64
ctx = store.WithPagination(ctx, 0, req.Page, &total)
ctx = store.WithPagination(ctx, req.Limit, req.Page, &total)
defer func() {
if err == nil {
setTotalHeader(ctx, total)
Expand Down Expand Up @@ -176,7 +176,7 @@ func (rs *registrySearch) SearchClients(

ctx = store.WithOrder(ctx, req.Order)
var total uint64
ctx = store.WithPagination(ctx, 0, req.Page, &total)
ctx = store.WithPagination(ctx, req.Limit, req.Page, &total)
defer func() {
if err == nil {
setTotalHeader(ctx, total)
Expand Down

0 comments on commit 0b32d14

Please sign in to comment.