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

Fix doubling up on URL segments for Account currency methods #63

Open
ConnorMac opened this issue Aug 29, 2018 · 1 comment · May be fixed by #99
Open

Fix doubling up on URL segments for Account currency methods #63

ConnorMac opened this issue Aug 29, 2018 · 1 comment · May be fixed by #99
Assignees
Labels
ready Ready to be worked on

Comments

@ConnorMac
Copy link
Contributor

When trying to PATCH/PUT a currency resource attached to a account resource it appends an extra currency code segment to the url, see below:

rehive.admin.accounts.obj("ZQTVXSC6H6").currencies.obj('ZAR').patch(
                active=True
            )

Yields a URL: /3/admin/accounts/ZQTVXSC6H6/currencies/ZAR/ZAR/

@OdinsPlasmaRifle
Copy link
Contributor

@ConnorMac Can you take a look at these 2 PRS, It seems like we somehow ended up with 2 solutions to this problem however I am not sure the proposed solution from Almabud actually resolved it:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Ready to be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants