Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -56,7 +56,7 @@ const transPublishingTopicAndMessage = async(bottleId) => { | ... | @@ -56,7 +56,7 @@ const transPublishingTopicAndMessage = async(bottleId) => { |
56 | const topic = 'bottle/' + bottleId + '/stb'; | 56 | const topic = 'bottle/' + bottleId + '/stb'; |
57 | 57 | ||
58 | const bottle = await Bottle.findByBottleId(bottleId); | 58 | const bottle = await Bottle.findByBottleId(bottleId); |
59 | - const recentOpen = await bottle.getRecentOpenDate(); | 59 | + const recentOpen = bottle.getRecentOpenDate(); |
60 | 60 | ||
61 | const message = 'res/' + await transDate(recentOpen); | 61 | const message = 'res/' + await transDate(recentOpen); |
62 | 62 | ... | ... |
-
Please register or login to post a comment