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

After .update(...) call, item gets added (again) as last .items item #45

Closed
Tracked by #41
mStirner opened this issue Oct 18, 2021 · 1 comment
Closed
Tracked by #41
Labels
bug Something that should not be like that http api system

Comments

@mStirner
Copy link
Member

A update call of the API adds the updated item again in to the .items array.

@mStirner mStirner added system bug Something that should not be like that http api labels Oct 18, 2021
@mStirner
Copy link
Member Author

Issue was not in .update method, it was in .get. The gets method is called on every HTTP API request:

// add the last get item to array, this is bug, see #41 / #45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that should not be like that http api system
Projects
None yet
Development

No branches or pull requests

1 participant