It doesn't make sense that two sleep records can be on the same date. We need to add a backend check for this.
This is a good opportunity for you to learn about the file structure of Laravel
How to do this:
- branch from master
- research laravel validation
- add the required code in the correct controller
- Make a pull request
It doesn't make sense that two sleep records can be on the same date. We need to add a backend check for this.
This is a good opportunity for you to learn about the file structure of Laravel
How to do this: