Skip to content

Conversation

@adjohu
Copy link

@adjohu adjohu commented Dec 13, 2019

The Readme suggests that tokens can be omitted, but when they are, the request fails.

Marketo expects an array for tokens. If an empty object is passed, Marketo rejects the request.

The Readme suggests that `tokens` can be omitted, but when they are, the request fails.

Marketo expects an array for `tokens`. If an empty object is passed, Marketo rejects the request.
@raszi
Copy link
Owner

raszi commented Dec 31, 2019

According to the docs, you are right.

Thank you for opening the PR, could you please also provide tests for it?

@adjohu
Copy link
Author

adjohu commented Jan 16, 2020

It's a 2 character change and there were no tests before. Merging this will improve the codebase slightly 🤷‍♂

@raszi
Copy link
Owner

raszi commented Jul 7, 2020

You are right, it is a two characters long change. But this was an issue, so to make sure there are no regressions in the future it is a very good practice to write a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants