Skip to content

Commit 7bca8f9

Browse files
committed
golangci-lint
1 parent c96fccb commit 7bca8f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/api/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ func (c *Controller) ReleaseTokenToMailbox(w http.ResponseWriter, r *http.Reques
954954
WithField("accept", r.Header.Get("Accept")).
955955
Debug("Failed to get user - redirect to login")
956956
redirectURL := url.URL{
957-
Path: fmt.Sprintf("/auth/login"),
957+
Path: "/auth/login",
958958
// TODO(ariels): Use a relative URI?
959959
RawQuery: fmt.Sprintf("next=%s", url.QueryEscape(r.URL.String())),
960960
}

0 commit comments

Comments
 (0)