Skip to content

Commit

Permalink
Merge pull request #340 from mailchimp/php_sdk_fix
Browse files Browse the repository at this point in the history
fixing ruby test and php SDK json form
  • Loading branch information
shogren authored Dec 4, 2023
2 parents 1ba68b8 + e7ebd94 commit 771b71b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-release-transactional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ jobs:
unzip zip/mailchimp-transactional-ruby.zip -d swagger-out/transactional-ruby
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Transactional

### 1.0.53
* Fixed broken ruby SDK test, updated PHP SDK to send form data via JSON

### 1.0.52
* Added the `is_broken_template` response to the /template endpoints that include it

Expand Down
2 changes: 1 addition & 1 deletion spec/transactional.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
},
"swagger": "2.0",
"info": {
"version": "1.0.52",
"version": "1.0.53",
"title": "Mailchimp Transactional API",
"contact": {
"name": "API Support",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class Configuration
// prepare request params
$postUrl = $this->getHost() . $path;
$options['form_params'] = $body;
$options['json'] = $body;
// set output format
$defaultOutputFormat = $this->getDefaultOutputFormat();
Expand Down

0 comments on commit 771b71b

Please sign in to comment.