fix next no titles handler
This commit is contained in:
parent
bf9f6f3cd1
commit
fb6f9f411d
|
@ -35,7 +35,7 @@ func (reviewAPI *ReviewAPI) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
reviewAPI.NextUnrated(w, r)
|
reviewAPI.NextUnrated(w, r)
|
||||||
case r.Method == http.MethodGet && subPath == "no-titles" && subSubPath == "":
|
case r.Method == http.MethodGet && subPath == "no-titles" && subSubPath == "":
|
||||||
reviewAPI.ListNoTitles(w, r)
|
reviewAPI.ListNoTitles(w, r)
|
||||||
case r.Method == http.MethodGet && subPath != "no-titles" && subSubPath == "next":
|
case r.Method == http.MethodGet && subPath == "no-titles" && subSubPath == "next":
|
||||||
reviewAPI.NextNoTitles(w, r)
|
reviewAPI.NextNoTitles(w, r)
|
||||||
case r.Method == http.MethodGet && subPath != "":
|
case r.Method == http.MethodGet && subPath != "":
|
||||||
reviewAPI.Get(w, r, subPath)
|
reviewAPI.Get(w, r, subPath)
|
||||||
|
|
Loading…
Reference in New Issue