@ -18,7 +18,7 @@ transport.verify()
process.exit(1);
})
router.post('/:id', async (ctx) => {
router.post('/api/contact/:id', async (ctx) => {
const {params: {id}, request, response} = ctx
if(!contacts[id]){
response.status = 400