这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Conversation

@mborromeo
Copy link
Contributor

Not sure if this will fix issue #5, but surely does for me.
If clicking "Cancel" while restoring purchases, products variable in the block is not an array but an Hash, so the .find won't work.

Sorry for not very elegant solution, i was running for a quick win.

Not sure if this will fix issue infinitered#5, but surely does for me.
If clicking "Cancel" while restoring purchases, products variable in the block is not an array but an Hash, so the .find won't work.

Sorry for not very elegant solution, i was running for a quick win.
@jamonholmgren
Copy link
Member

Seems like an issue further up the chain that we should fix. Appreciate the quick fix, though!

@kevinvangelder
Copy link
Member

@jamonholmgren Can we merge this until we come up with a better fix?

jamonholmgren added a commit that referenced this pull request Jul 22, 2015
Getting the product in case of Hash
@jamonholmgren jamonholmgren merged commit 877f686 into infinitered:master Jul 22, 2015
@jamonholmgren
Copy link
Member

Works for me. I'll push up a new gem.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants