graasp / graasp/graasp-api

Clear empty chat throws 500

Open
#1,613 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

# Steps

1. Create an item
2. Go to settings
3. Clear Chat

Expected behavior: either button is disabled because there's no message, or the result is OK.
Current behavior: We receive error 500:

```
{
"statusCode": 500,
"error": "Internal Server Error",
"message": "The deletion of a new ChatMessage failed, the entry was not found."
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.