Skip to content

Commit

Permalink
Merge pull request #155 from Ilhasoft/fix/kannel-status
Browse files Browse the repository at this point in the history
Remove errored status
  • Loading branch information
Robi9 authored Jun 11, 2024
2 parents 8bad0c7 + f5ba72b commit 8cbad8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/kannel/kannel.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func (h *handler) Send(ctx context.Context, msg courier.Msg, clog *courier.Chann
_, _, _ = handlers.RequestHTTPInsecure(req, clog)
}

status := h.Backend().NewMsgStatusForID(msg.Channel(), msg.ID(), courier.MsgErrored, clog)
status := h.Backend().NewMsgStatusForID(msg.Channel(), msg.ID(), courier.MsgWired, clog)
// if err == nil && resp.StatusCode/100 == 2 {
status.SetStatus(courier.MsgWired)
// }
Expand Down

0 comments on commit 8cbad8c

Please sign in to comment.