Compare commits

..

No commits in common. "fb868bfefc0c87ba3c81d4b9495edb2f12be8079" and "92cabfa048fd4c57292db4da5cbd416c332f9ad5" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ const { response } = require('express');
const router = require('express').Router(); const router = require('express').Router();
router.get("/users", (request, response) => { router.get("/users", (request, response) => {
response.send(require("./json/users.json")) response.send(require("../json/users.json"))
}) })
module.exports = router; module.exports = router;

View File

@ -6,7 +6,7 @@
"first_name": "Вася", "first_name": "Вася",
"second_name": "Пупкин", "second_name": "Пупкин",
"role": "dogsitter", "role": "dogsitter",
"location": "Россия, республика Татарстан, Казань, улица Пушкина, 12", "location": "Вахитовский район",
"price": 1500, "price": 1500,
"about_me": "Я люблю собак" "about_me": "Я люблю собак"
}, },
@ -17,7 +17,7 @@
"first_name": "Ваня", "first_name": "Ваня",
"second_name": "Пуськин", "second_name": "Пуськин",
"role": "dogsitter", "role": "dogsitter",
"location": "Россия, республика Татарстан, Казань, улица Абсалямова, 19", "location": "Приволжский район",
"price": 1000000, "price": 1000000,
"about_me": "Я не люблю собак. И вообще я котоман." "about_me": "Я не люблю собак. И вообще я котоман."
}, },
@ -36,7 +36,7 @@
"first_name": "Галкин", "first_name": "Галкин",
"second_name": "Максим", "second_name": "Максим",
"role": ["owner", "dogsitter"], "role": ["owner", "dogsitter"],
"location": "Россия, республика Татарстан, Казань, проспект Ямашева, 83", "location": "Элитный район",
"price": 1000000, "price": 1000000,
"about_me": "Миллион алых роз" "about_me": "Миллион алых роз"
} }