Skip to content

Commit

Permalink
fix: lower-case jsonnet context for sms
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Feb 23, 2022
1 parent 799fa10 commit 8c58e94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions courier/sms.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
)

type sendSMSRequestBody struct {
To string
From string
Body string
From string `json:"from"`
To string `json:"to"`
Body string `json:"body"`
}

type smsClient struct {
Expand Down
6 changes: 3 additions & 3 deletions courier/stub/request.config.twilio.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function(ctx) {
from: ctx.From,
to: ctx.To,
body: ctx.Body
from: ctx.from,
to: ctx.to,
body: ctx.body
}

0 comments on commit 8c58e94

Please sign in to comment.