add rt type

This commit is contained in:
Jay 2018-06-28 17:39:11 +08:00
parent 171df6193b
commit e364b426e4

View File

@ -163,7 +163,8 @@ const sendStreamNotify = async (streamer = null) => {
on twitch."id" = rt."twitch"
where
twitch."id" = $1
and line."notify" = true`
and line."notify" = true
and rt."type" = 'live'`
let values = [streamer.user_id]
rt = await db.query({
text,