Skip to content

Conversation

prathambatra
Copy link
Contributor

fixes #261
reject conflicts
Screenshot from 2020-06-11 18-11-35
Screenshot from 2020-06-11 18-03-19
Screenshot from 2020-06-11 18-03-23

@boss-contributions-bot
Copy link

Thanks @prathambatra, for opening the pull request! 🙌

One of our mentors will review the pull request soon. ✅

Star ⭐ this project and tweet 🐦 about your contributions.

@prathambatra prathambatra changed the title Reject conflicts Reject conflicts on accepting claim. Jun 11, 2020
@prathambatra
Copy link
Contributor Author

@hereisnaman

})
.catch(error => {
res.send('Error updating claim')
if(req.body.status === 'accepted') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be under a transaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reject all the conflicting claims on accepting one
2 participants