MessageDto sentByBot inverted
Open
Nobody has claimed this yet.
backend
bug
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
In user.service.ts at line 42:
sentByBot: message.sentBy == 'USER',
USER should be replaced with BOT
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open user.service.ts at line 42 and inspect how MessageDto sets sentByBot from message.sentBy. Replace the incorrect USER comparison with BOT, then verify that the field is true for bot messages and false for user messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100