school-stage stubs

This commit is contained in:
Rushan Sitdikov 2024-05-31 22:04:23 +03:00
parent 272961c583
commit 7cdd7e790f
2 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,7 @@ router.get('/account', (request, response) => {
response.send(require('./json/account/account.json')) response.send(require('./json/account/account.json'))
}) })
router.post('/login', (request, response) => { router.post('/login', (request, response) => {
response.send(require('../json/login/success.json')) response.send(require('./json/login/success.json'))
}) })
module.exports = router; module.exports = router;

View File

@ -2,6 +2,7 @@
"data": "data":
{ {
"login": "user1", "login": "user1",
"password": "123",
"photo": "boy", "photo": "boy",
"surname": "Иванов", "surname": "Иванов",
"name": "Иван", "name": "Иван",