pick up slot not blocked until next refresh. Double entry possible
Summary
Two or more persons can apply for the same pick up slot. Report by https://foodsharing.de/profile/127454
Steps to reproduce
- Find some shop with one single empty pickup slot.
- Apply for this slot and let another person on another machine/browser do the same.
- Finally hit F5 on both machines
What is the current bug behavior?
The single slot is doubled. Two FS are inserted.
What is the expected correct behavior?
When applying for the slot, the server side should check if the slot is really free and block it the moment after.