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

Adding to Piles method does not work #130

Open
nurzhanme opened this issue Apr 9, 2023 · 1 comment
Open

Adding to Piles method does not work #130

nurzhanme opened this issue Apr 9, 2023 · 1 comment

Comments

@nurzhanme
Copy link

nurzhanme commented Apr 9, 2023

Adding to Piles method returns the same deck as it was before, even though deck contains cards I want to draw and add to pile

Steps to reproduce:

  1. Call https://deckofcardsapi.com/api/deck/new/shuffle/

1

  1. Take deck_id and put to https://deckofcardsapi.com/api/deck/<<deck_id>>/pile/p1/add/?cards=AS,2S

2

  1. Then call https://deckofcardsapi.com/api/deck/<<deck_id>>/pile/p1/list/

3

And deck still has 52 cards and pile p1 is empty

@crobertsbmw
Copy link
Owner

crobertsbmw commented Apr 10, 2023 via email

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

No branches or pull requests

2 participants