Skip to content

Commit

Permalink
refactor: rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
maeb committed May 15, 2024
1 parent 36ff1db commit f2874da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ func (c *SearchRequest) Parse(values url.Values) error {
return nil
}

func ClosestRequest(closest string, u *whatwgUrl.Url) *SearchRequest {
func ClosestRequest(closest string, url *whatwgUrl.Url) *SearchRequest {
return &SearchRequest{
whatwgUrl: u,
whatwgUrl: url,
limit: 10,
sort: index.SortClosest,
closest: closest,
Expand Down

0 comments on commit f2874da

Please sign in to comment.