Compare commits
No commits in common. "4efbb5690598fc4274ffd0fd38a0a1df91912be9" and "50c6286190372c8b76cdadae1c2bf5fc741564ce" have entirely different histories.
4efbb56905
...
50c6286190
@ -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,7 +2,6 @@
|
|||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
"login": "user1",
|
"login": "user1",
|
||||||
"password": "123",
|
|
||||||
"photo": "boy",
|
"photo": "boy",
|
||||||
"surname": "Иванов",
|
"surname": "Иванов",
|
||||||
"name": "Иван",
|
"name": "Иван",
|
||||||
|
Loading…
Reference in New Issue
Block a user