Skip to content

Commit 689a9a5

Browse files
committed
little fix
1 parent 99d7656 commit 689a9a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func SlackPostHandler(s *common.Slack) func(w http.ResponseWriter, r *http.Reque
180180

181181
switch name {
182182
case "ManagerChosen":
183-
managerid := fmt.Sprintf(payload.ActionCallback.AttachmentActions[0].Value)
183+
managerid := fmt.Sprintf(payload.ActionCallback.AttachmentActions[0].SelectedOptions[0].Value)
184184

185185
manager, err := api.GetUserInfo(managerid)
186186
if err != nil {

0 commit comments

Comments
 (0)