-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Describe the bug
When a bounty is claimed on the web side, 2 direct messages are sent to the bounty creator on the bot side.
Expected behavior
Only one claimed DM should be sent
Additional context
This is happening because when a bounty is claimed, 2 database updates occur:
- On the web side the data elements to claim it are updated
- On the bot side the BountyUtils.bountyCleanUp is called which replaces the document with updated iconUrls
The replace update needs to be ignored, probably, but it should be conditional on coming from this routine, otherwise if we do a replace for some other reason on the web side, it won't get caught.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels