Remove limit on genre return
authorJacob Casper <dev@jacobcasper.com>
Sun, 19 Apr 2020 05:03:33 +0000 (00:03 -0500)
committerJacob Casper <dev@jacobcasper.com>
Sun, 19 Apr 2020 05:03:33 +0000 (00:03 -0500)
backend/routes/genre/genre.go

index 89a4deb..0304b64 100644 (file)
@@ -45,8 +45,7 @@ WHERE NAME = lower(?)`,
 
                rows, err := env.Db.Db.Query(`
 SELECT ID, NAME
-FROM GENRE
-LIMIT 20`,
+FROM GENRE`,
                )
                if err != nil {
                        http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)