Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Fix remove card #78

Merged
merged 3 commits into from
Mar 13, 2017
Merged

Conversation

barbaraliau
Copy link
Contributor

Calls the resolve() method to complete the Promise for removePaymentMethod.

Fixes a validation method for paymentProcessors. It was incorrectly calling an error for payment processors. A user can have none or one payment processor for vendor, but no more. The validation was erroring if there was one or more payment processor, instead of letting one payment processor pass.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 81.81% when pulling a5dda90 on barbaraliau:fix-remove-card into 667f249 on Storj:master.

Copy link
Contributor

@phutchins phutchins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. Needs tests but will merge now.

@phutchins phutchins merged commit 4a9a323 into storj-archived:master Mar 13, 2017
@barbaraliau barbaraliau deleted the fix-remove-card branch March 14, 2017 21:41
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