Add availibility endpoints

This commit is contained in:
2020-05-05 16:18:36 +02:00
parent 57b66883da
commit fa8dfb8ebc
3 changed files with 14 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ router.post('/', async (req, res) => {
}
});
router.delete('/:possible_date_id', async (req, res) => {
router.delete('/:id', async (req, res) => {
const id = req.params.id;
try {

View File

@@ -17,7 +17,7 @@ router.post('/', async (req, res) => {
}
});
router.delete('/:possible_date_id', async (req, res) => {
router.delete('/:id', async (req, res) => {
const id = req.params.id;
try {