Browse Source

fix: sendmm run ok with illegal token (#1476)

Co-authored-by: wanglipeng <wanglipeng@huayun.com>
tags/v6.0.0-ga12
lwangrabbit GitHub 3 years ago
parent
commit
e415538ffd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      alert/sender/mm.go

+ 1
- 0
alert/sender/mm.go View File

@@ -59,6 +59,7 @@ func SendMM(message MatterMostMessage) {
u, err := url.Parse(message.Tokens[i])
if err != nil {
logger.Errorf("mm_sender: failed to parse error=%v", err)
continue
}

v, err := url.ParseQuery(u.RawQuery)


Loading…
Cancel
Save