Removed call to JSON.parse in Collection.create that causes a parse exception #6

Closed
wants to merge 1 commit into
from

4 participants

@kmccammon

Removed call to JSON.parse in create as according to the API docs (https://labs.aweber.com/docs/reference/1.0#subscribers) the POST just returns 201 CREATED with a link to the newly created subscriber appearing in the Location header.

@kmccammon kmccammon Removed call to JSON.parse in create as according to the API docs (ht…
…tps://labs.aweber.com/docs/reference/1.0#subscribers) the POST just returns 201 CREATED with a link to the newly created subscriber appearing in the Location header.
2f01f2d
@marshmallowcreme

Thanks for the fix commit. This was frustrating me too.

@Najaf

Any chance of getting this guy merged?

@chrismcguire

Thanks for the report. Your changes were included in 4e087c5.

@chrismcguire

This change was deployed in gem version 1.4.0

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