Skip to content

Commit ac2d4f2

Browse files
committed
golangci-lint
1 parent 91a230f commit ac2d4f2

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
@@ -937,7 +937,7 @@ func (c *Controller) ReleaseTokenToMailbox(w http.ResponseWriter, r *http.Reques
937937
WithField("accept", r.Header.Get("Accept")).
938938
Debug("Failed to get user - redirect to login")
939939
redirectURL := url.URL{
940-
Path: fmt.Sprintf("/auth/login"),
940+
Path: "/auth/login",
941941
// TODO(ariels): Use a relative URI?
942942
RawQuery: fmt.Sprintf("next=%s", url.QueryEscape(r.URL.String())),
943943
}

0 commit comments

Comments
 (0)