-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default template model should be struct not array
Postmark returns an error if an array is sent as the template model. Empty struct works fine. This was causing the following error when calling `PostmarkHelper.template` with no model : `{"ErrorCode":403,"Message":"Received valid, but incompatible JSON input."}`
- Loading branch information
1 parent
75d4783
commit a44d47d
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters