Skip to content

Commit

Permalink
add withSigningSecret to snapMail options
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorshephard committed Nov 7, 2023
1 parent 94c7ffc commit ccb21af
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion function.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,11 @@ func NewSignupServer() *signupServer {
if err != nil {
log.Fatal(err)
}
snapMailOptions = append(snapMailOptions, WithClient(client))
snapMailOptions = append(
snapMailOptions,
WithClient(client),
WithSigningSecret(os.Getenv("SIGNING_SECRET")),
)
}
snapMailSvc := NewSnapMail(snapMailURL, snapMailOptions...)

Expand Down

0 comments on commit ccb21af

Please sign in to comment.