Fix queries.getAllRequests calling requests_vw as a function

Fixes #23
This commit is contained in:
Dessa Simpson 2020-11-10 14:59:36 -07:00
parent 6e365bbd16
commit 51a4c5b2a3

View file

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