Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preferred_reimbursement_type_id as permitted attributes for ReturnAuthorization #3215

Merged
merged 1 commit into from
Jun 26, 2019

Conversation

ibudiallo
Copy link
Contributor

Description

When using the api, we can create return authorizations but cannot set the reimbursement type. The reason being the field preferred_reimbursement_type_id was not included in the list of permitted attributes.

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have updated Guides and README accordingly to this change (if needed)
  • I have added tests to cover this change (if needed)

Copy link
Contributor

@ericsaupe ericsaupe left a comment

Choose a reason for hiding this comment

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

I like it! Would you mind making a spec that tests this new behavior?

@ibudiallo
Copy link
Contributor Author

@ericsaupe I've added the field in the spec. Thanks

Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution, @ibudiallo!

@kennyadsl kennyadsl changed the title added preferred_reimbursement_type_id as permitted attributes Add preferred_reimbursement_type_id as permitted attributes May 30, 2019
@kennyadsl
Copy link
Member

Thank you @ibudiallo, just one last thing: can you please squash commits into a single one?

Copy link
Contributor

@jacobherrington jacobherrington left a comment

Choose a reason for hiding this comment

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

Thanks for making this change @ibudiallo! Would you mind squashing your commits? I'm happy to merge after that 🎉

@ibudiallo
Copy link
Contributor Author

Thanks guys. I squashed my commits.

Copy link
Contributor

@ericsaupe ericsaupe left a comment

Choose a reason for hiding this comment

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

Thanks!

@kennyadsl
Copy link
Member

Hey @ibudiallo I'd love to merge this PR but it should have a single commit. Maybe you rebased against your local copy of solidus, which is a bit behind the upstream one?

I suggest you to add a new upstream remote and redo the rebase:

git remote add upstream [email protected]:solidusio/solidus.git
git fetch -a upstream
git rebase upstream/master

This would clean-up the branch, I'm available here or on our Slack Workspace for further help if needed. Thanks!

@kennyadsl kennyadsl merged commit b8dbd1f into solidusio:master Jun 26, 2019
@kennyadsl kennyadsl changed the title Add preferred_reimbursement_type_id as permitted attributes Add preferred_reimbursement_type_id as permitted attributes for ReturnAuthorization Jun 26, 2019
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.

6 participants