v12 icon indicating copy to clipboard operation
v12 copied to clipboard

[BUG] - Cannot delete conversation in HITLNext

Open laurentlp opened this issue 4 years ago • 0 comments

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

Screenshot from 2021-12-08 18-12-43 Screenshot from 2021-12-08 18-12-01 Screenshot from 2021-12-08 18-11-51

Environment (please complete the following information):

  • OS: Arch Linux
  • Browser Chrome
  • Browser Version Latest
  • Botpress Version 12.26.8
  • NodeJS 12.18.1

laurentlp avatar Dec 08 '21 23:12 laurentlp