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

Impossible to remove all the tags of an article #97

Open
casimir opened this issue Nov 18, 2023 · 0 comments
Open

Impossible to remove all the tags of an article #97

casimir opened this issue Nov 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@casimir
Copy link
Owner

casimir commented Nov 18, 2023

Wallabag API don't allow to specify "no tags" when using PATCH Entry: https://github.com/wallabag/wallabag/blob/5f9d1a999c4365ebcc426495d4e82a4b854d1d8d/src/Wallabag/ApiBundle/Controller/EntryRestController.php#L969-L972

As of today the simplest solution would be to detect this kind of edition, find the last remaining tag and add a call to DELETE /api/entries/{entry}/tags/{tag}.

@casimir casimir added the bug Something isn't working label Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant