fix sql query
This commit is contained in:
parent
930163aa15
commit
217608d6e4
@ -19,7 +19,7 @@ const typeTwitch = async (c, n) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const typeSystem = 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 values = [c.session.user.id]
|
||||||
let result = await c.db.query({text, values})
|
let result = await c.db.query({text, values})
|
||||||
c.state.channelList = result.rows
|
c.state.channelList = result.rows
|
||||||
|
Loading…
Reference in New Issue
Block a user