fix(server/m7-365): silence unused-pool-param lint in history test
This commit is contained in:
@@ -24,7 +24,7 @@ func newHistoryRouter(h *handlers) chi.Router {
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
func doGetHistory(h *handlers, pool *pgxpool.Pool, user dbq.User, query string) *httptest.ResponseRecorder {
|
func doGetHistory(h *handlers, _ *pgxpool.Pool, user dbq.User, query string) *httptest.ResponseRecorder {
|
||||||
url := "/api/me/history"
|
url := "/api/me/history"
|
||||||
if query != "" {
|
if query != "" {
|
||||||
url += "?" + query
|
url += "?" + query
|
||||||
|
|||||||
Reference in New Issue
Block a user