fix next no titles handler

This commit is contained in:
Erik Winter 2024-01-20 11:39:37 +01:00
parent bf9f6f3cd1
commit fb6f9f411d
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func (reviewAPI *ReviewAPI) ServeHTTP(w http.ResponseWriter, r *http.Request) {
reviewAPI.NextUnrated(w, r)
case r.Method == http.MethodGet && subPath == "no-titles" && subSubPath == "":
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)
case r.Method == http.MethodGet && subPath != "":
reviewAPI.Get(w, r, subPath)