From f7ac265e3b682a0dbad2592f8975560766de3fbe Mon Sep 17 00:00:00 2001 From: Julya Shapaeva Date: Sat, 30 Nov 2024 16:04:59 +0300 Subject: [PATCH] Replace users.json to users/ folder --- server/routers/dogsitters-finder/index.js | 2 +- server/routers/dogsitters-finder/json/{ => users}/users.json | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename server/routers/dogsitters-finder/json/{ => users}/users.json (100%) diff --git a/server/routers/dogsitters-finder/index.js b/server/routers/dogsitters-finder/index.js index 8cd7b63..85c9e95 100644 --- a/server/routers/dogsitters-finder/index.js +++ b/server/routers/dogsitters-finder/index.js @@ -3,7 +3,7 @@ const { response } = require('express'); const router = require('express').Router(); router.get("/users", (request, response) => { - response.send(require("./json/users.json")) + response.send(require("./json/users/users.json")) }) router.post("/auth", (request, response) => { diff --git a/server/routers/dogsitters-finder/json/users.json b/server/routers/dogsitters-finder/json/users/users.json similarity index 100% rename from server/routers/dogsitters-finder/json/users.json rename to server/routers/dogsitters-finder/json/users/users.json