Skip to content

Commit

Permalink
Results posted 10 mins after finished standup (#15)
Browse files Browse the repository at this point in the history
* results posted 10 mins after finished standup

* correct linting

* easy linting fix

* fixing typo

* Addingn some text
  • Loading branch information
matthieudolci authored Jul 18, 2018
1 parent d9ed84b commit 1ecdcc1
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 116 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
*.out
.DS_Store
.docker-data
.vscode
1 change: 1 addition & 0 deletions api/happiness.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ func surveyResultsAll(res *results) error {
}
return nil
}

func surveyResultsAllUserBetweenDatesHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {

res := results{}
Expand Down
2 changes: 2 additions & 0 deletions scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func runSchedulerHappiness(s *common.Slack, timeHappiness, userid string) error
scheduler.Every(1).Friday().At(timeHappiness).Do(happiness.AskHappinessSurveyScheduled, s, userid)
log.WithFields(log.Fields{
"userid": userid,
"time": timeHappiness,
}).Info("Happiness Survey schedule tasks posted")

return nil
Expand All @@ -112,6 +113,7 @@ func runSchedulerStandup(s *common.Slack, timeStandup, userid string) error {
scheduler.Every(1).Friday().At(timeStandup).Do(standup.AskStandupYesterdayScheduled, s, userid)
log.WithFields(log.Fields{
"userid": userid,
"time": timeStandup,
}).Info("Standup schedule tasks posted")

return nil
Expand Down
Loading

0 comments on commit 1ecdcc1

Please sign in to comment.