From 217608d6e4032df05684d8fee240e36d6b6eefb5 Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 20 Aug 2018 22:58:34 +0800 Subject: [PATCH] fix sql query --- route/api/twitch/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route/api/twitch/index.js b/route/api/twitch/index.js index 842f98d..e4b0fe5 100644 --- a/route/api/twitch/index.js +++ b/route/api/twitch/index.js @@ -19,7 +19,7 @@ const typeTwitch = async (c, n) => { } const typeSystem = async (c, n) => { - let text = `select * form "public"."twitch_channel"` + let text = `select * from "public"."twitch_channel"` let values = [c.session.user.id] let result = await c.db.query({text, values}) c.state.channelList = result.rows