projects
/
brackets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f512a46
)
Remove limit on genre return
author
Jacob Casper
<dev@jacobcasper.com>
Sun, 19 Apr 2020 05:03:33 +0000
(
00:03
-0500)
committer
Jacob Casper
<dev@jacobcasper.com>
Sun, 19 Apr 2020 05:03:33 +0000
(
00:03
-0500)
backend/routes/genre/genre.go
patch
|
blob
|
blame
|
history
diff --git
a/backend/routes/genre/genre.go
b/backend/routes/genre/genre.go
index
89a4deb
..
0304b64
100644
(file)
--- a/
backend/routes/genre/genre.go
+++ b/
backend/routes/genre/genre.go
@@
-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)