From 54e0daf198c306e0a43fbbdcc499a240379c71cb Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 20 Aug 2018 23:07:43 +0800 Subject: [PATCH] remove param --- 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 e4b0fe5..db0e683 100644 --- a/route/api/twitch/index.js +++ b/route/api/twitch/index.js @@ -20,7 +20,7 @@ const typeTwitch = async (c, n) => { const typeSystem = async (c, n) => { let text = `select * from "public"."twitch_channel"` - let values = [c.session.user.id] + let values = [] let result = await c.db.query({text, values}) c.state.channelList = result.rows return n()