Skip to content

Commit

Permalink
little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieudolci committed Jun 25, 2020
1 parent 99d7656 commit 689a9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func SlackPostHandler(s *common.Slack) func(w http.ResponseWriter, r *http.Reque

switch name {
case "ManagerChosen":
managerid := fmt.Sprintf(payload.ActionCallback.AttachmentActions[0].Value)
managerid := fmt.Sprintf(payload.ActionCallback.AttachmentActions[0].SelectedOptions[0].Value)

manager, err := api.GetUserInfo(managerid)
if err != nil {
Expand Down

0 comments on commit 689a9a5

Please sign in to comment.