Showing
1 changed file
with
7 additions
and
1 deletions
... | @@ -15,7 +15,13 @@ const multiCheckMamul = (client) => { | ... | @@ -15,7 +15,13 @@ const multiCheckMamul = (client) => { |
15 | for (let i = 0, pending = Promise.resolve(); i < keywords.length; i++) { | 15 | for (let i = 0, pending = Promise.resolve(); i < keywords.length; i++) { |
16 | pending = db.getUsersByKeyword(keywords[i]).then((userIds) => { | 16 | pending = db.getUsersByKeyword(keywords[i]).then((userIds) => { |
17 | marketMultiSearch(keywords[i]).then((res) => { | 17 | marketMultiSearch(keywords[i]).then((res) => { |
18 | - client.multicast(userIds, [setCarouselMessage(res)]); | 18 | + client.multicast(userIds, [ |
19 | + { | ||
20 | + type: "text", | ||
21 | + text: `유저님의 ${keywords[i]} 매물 알림이 도착했어요!`, | ||
22 | + }, | ||
23 | + setCarouselMessage(res), | ||
24 | + ]); | ||
19 | }); | 25 | }); |
20 | }); | 26 | }); |
21 | } | 27 | } | ... | ... |
-
Please register or login to post a comment