Skip to content

Commit

Permalink
fixcontext
Browse files Browse the repository at this point in the history
  • Loading branch information
hulutech-web committed Jun 24, 2024
1 parent 7d86bea commit e6d1768
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 @@ -62,7 +62,7 @@ func (r *HttpResult) ResultPagination(dest any,withes ...string) (http.Response,
}
r.Query.Paginate(currentPageInt, pageSizeInt, dest, &total)

URL_PATH := ctx.Request().Origin().URL.Path
URL_PATH := r.Context.Request().Origin().URL.Path
var proto = "http://"
if request.Origin().TLS != nil {
proto = "https://"
Expand Down

0 comments on commit e6d1768

Please sign in to comment.