Slack endpoint.

This commit is contained in:
Matt Burchett 2021-02-04 02:33:52 -06:00
parent 8ab5d87cef
commit c21eb8e3c2

View File

@ -39,7 +39,7 @@ func parseSlack(body []byte) string {
Text string
}{}
json.Unmarshal(body, &respbody)
json.Unmarshal(body, &reqBody)
return respBody.Text
return reqBody.Text
}