Skip to content

When Creating Segment, Ensure Only ID is Returned#62

Open
DanielWright wants to merge 1 commit into
masterfrom
fix/segment-creation
Open

When Creating Segment, Ensure Only ID is Returned#62
DanielWright wants to merge 1 commit into
masterfrom
fix/segment-creation

Conversation

@DanielWright
Copy link
Copy Markdown

api_call.static_segment_add returns a Hash, not the segment's ID, so when a segment is created, @segment_id can contain an unexpected Hash, which causes an exception to be thrown when, say, subscribing a customer. Bad news bears!

`api_call.static_segment_add` returns a Hash, not the segment's ID, so when a segment is created, `@segment_id` can contain an unexpected Hash.
@DanielWright
Copy link
Copy Markdown
Author

CI spec failures seem to have been caused by 4681d8a. Shall I update the specs to reflect the change?

@joshnuss
Copy link
Copy Markdown
Contributor

joshnuss commented May 7, 2015

Thanks ddubya!

Yes, updating that spec would be helpful (/cc: @braidn )

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