From 7cdd7e790fe40618b7e90173e874eb6a1e41a340 Mon Sep 17 00:00:00 2001 From: Rushan Sitdikov Date: Fri, 31 May 2024 22:04:23 +0300 Subject: [PATCH] school-stage stubs --- server/routers/school-stage/index.js | 2 +- server/routers/school-stage/json/login/success.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/routers/school-stage/index.js b/server/routers/school-stage/index.js index d842da1..68fa2c3 100644 --- a/server/routers/school-stage/index.js +++ b/server/routers/school-stage/index.js @@ -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; \ No newline at end of file diff --git a/server/routers/school-stage/json/login/success.json b/server/routers/school-stage/json/login/success.json index 317e15a..b057af4 100644 --- a/server/routers/school-stage/json/login/success.json +++ b/server/routers/school-stage/json/login/success.json @@ -2,6 +2,7 @@ "data": { "login": "user1", + "password": "123", "photo": "boy", "surname": "Иванов", "name": "Иван",