Slack endpoint.
This commit is contained in:
parent
8ab5d87cef
commit
c21eb8e3c2
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user