Fix queries.getAllRequests calling requests_vw as a function

Fixes #23
master
Dessa Simpson 2020-11-10 14:59:36 -07:00
parent 6e365bbd16
commit 51a4c5b2a3
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ export const getRequestsVoted = {
export const getAllRequests = {
name: "getAllRequests",
text: "SELECT * FROM requests_vw() LIMIT $1"
text: "SELECT * FROM requests_vw LIMIT $1"
}
export const getAllRequestsVoted = {