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
[API v1] Delete latest is not working #475
Comments
I expect that it's not implemented, but could be fairly easily. We might want to create a re-usable piece of code that translates mailbox name+ |
Thinking about it more, and it probably isn't a super useful endpoint. If you call get, then you have the message id, and can just use that to delete. Maybe a quick solution for now is to just return a 404 when calling this endpoint instead of a 200, and then implement if needed. I had just thought that it was already implemented but not working :) |
There is also a risk that you call GET latest while a new message is being delivered, then you call DELETE latest and delete the wrong one, so I'd be OK w/ 404 |
when making a curl to the endpoint:
I get a 200 ok back. But the message is there. If I instead use the message id, then the message is indeed deleted
Maybe I get time to work on this this week 👍 , or maybe you know right away how to fix :)
The text was updated successfully, but these errors were encountered: