yalla-coop / nightingale

An app that aims to help students reflect on their emotions and work out what's affecting them at school
https://botnightingale.herokuapp.com/
MIT License
2 stars 1 forks source link

fix the error with mailing #111

Closed RamyAlshurafa closed 5 years ago

RamyAlshurafa commented 5 years ago

Relates #32 check the incoming results from checkSupprtkeyword to solve the error. also, re-order the function so it will store the messages then check for support keywords so the last message that detected will be included in the email. fix typo in client side message

codecov[bot] commented 5 years ago

Codecov Report

Merging #111 into master will increase coverage by 4.09%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #111      +/-   ##
==========================================
+ Coverage   82.76%   86.86%   +4.09%     
==========================================
  Files          44       42       -2     
  Lines         354      335      -19     
  Branches       15       16       +1     
==========================================
- Hits          293      291       -2     
+ Misses         55       39      -16     
+ Partials        6        5       -1
Impacted Files Coverage Δ
server/router/bot/support_keywords.js 25% <0%> (-4.42%) :arrow_down:
server/router/bot/startChat.js 23.52% <0%> (ø) :arrow_up:
server/router/bot/pusherSessionClient.js
server/database/queries/decideFlow.js 85.71% <0%> (+42.85%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dd16ee7...f611949. Read the comment docs.