Merge pull request 'school-stage stubs' (#10) from school-stage-branch into master
Reviewed-on: https://git.inno-js.ru/bro-students/multy-stub/pulls/10
This commit is contained in:
commit
4efbb56905
@ -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;
|
@ -2,6 +2,7 @@
|
|||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
"login": "user1",
|
"login": "user1",
|
||||||
|
"password": "123",
|
||||||
"photo": "boy",
|
"photo": "boy",
|
||||||
"surname": "Иванов",
|
"surname": "Иванов",
|
||||||
"name": "Иван",
|
"name": "Иван",
|
||||||
|
Loading…
Reference in New Issue
Block a user