v12
v12 copied to clipboard
[BUG] - Cannot delete conversation in HITLNext
Describe the bug
When an agent tries to delete a conversation, it only deletes the conversation for the user and returns a 400 HTTP error.
To Reproduce
https://user-images.githubusercontent.com/9640576/145305631-3c1f52ff-20cd-48e7-84fb-14fde0e60380.mp4
Expected behavior
The conversation should also be deleted for the agent and a success message should appear.
This is probably because the userId sent should be the user's not the agents.
Screenshots

Environment (please complete the following information):
- OS: Arch Linux
- Browser Chrome
- Browser Version Latest
- Botpress Version 12.26.8
- NodeJS 12.18.1