school-stage stubs #10

Merged
prdcsi merged 1 commits from school-stage-branch into master 2024-05-31 23:56:38 +03:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 7cdd7e790f - Show all commits

View File

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

View File

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