diff --git a/route/api/twitch/index.js b/route/api/twitch/index.js index a166733..4e2d33c 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 * from "public"."twitch_channel"` + let text = `select * from "public"."twitch_channel" order by "name" asc` let values = [] let result = await c.db.query({text, values}) c.state.channelList = result.rows