We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 153c4e9 commit ada554fCopy full SHA for ada554f
handlers/messagebird/handler.go
@@ -9,10 +9,10 @@ import (
9
"crypto/hmac"
10
"crypto/sha256"
11
"encoding/hex"
12
- "log/slog"
13
- "strconv"
14
"errors"
15
"fmt"
+ "log/slog"
+ "strconv"
16
17
"net/http"
18
"time"
@@ -64,9 +64,9 @@ var statusMapping = map[string]courier.MsgStatus{
64
65
type formMessage struct {
66
ID string `name:"id"`
67
- MID string `name:"mid"` //shortcode only
68
- Shortcode string `name:"shortcode"` //shortcode only
69
- Recipient string `name:"recipient" validate:"required"`
+ MID string `name:"mid"` //shortcode only
+ Shortcode string `name:"shortcode"` //shortcode only
+ Recipient string `name:"recipient" validate:"required"`
70
Originator string `name:"originator"`
71
Body string `name:"body"`
72
MediaURLs []string `name:"mediaUrls"`
0 commit comments