Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -48,13 +48,15 @@ app.post('/hook', function (req, res) { | ... | @@ -48,13 +48,15 @@ app.post('/hook', function (req, res) { |
48 | 48 | ||
49 | if(message.text === '김프'){ | 49 | if(message.text === '김프'){ |
50 | command = '김프'; | 50 | command = '김프'; |
51 | - | 51 | + USER_ID = source.userId; |
52 | } | 52 | } |
53 | else if (message.text === '거래량비율'){ | 53 | else if (message.text === '거래량비율'){ |
54 | volumePumpingRatioThreeMinutePerWeek(eventObj.replyToken, message.text); | 54 | volumePumpingRatioThreeMinutePerWeek(eventObj.replyToken, message.text); |
55 | + USER_ID = source.userId; | ||
55 | } | 56 | } |
56 | else if(message.text == '고래알람'){ | 57 | else if(message.text == '고래알람'){ |
57 | PushTimeId = SetWhaleAlert() | 58 | PushTimeId = SetWhaleAlert() |
59 | + USER_ID = source.userId; | ||
58 | } | 60 | } |
59 | else if(message.text == '고래알람해제'){ | 61 | else if(message.text == '고래알람해제'){ |
60 | clearTimeout(PushTimeId) | 62 | clearTimeout(PushTimeId) | ... | ... |
-
Please register or login to post a comment