Skip to content

Commit

Permalink
fixcontext2
Browse files Browse the repository at this point in the history
  • Loading branch information
hulutech-web committed Jun 24, 2024
1 parent e6d1768 commit 06ccd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paginator.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (r *HttpResult) ResultPagination(dest any,withes ...string) (http.Response,
currentPageInt := cast.ToInt(currentPage)
total := int64(0)
for _, with := range withes {
r.Query.With(with)
r.Query = r.Query.With(with)
}
r.Query.Paginate(currentPageInt, pageSizeInt, dest, &total)

Expand Down

0 comments on commit 06ccd6c

Please sign in to comment.