diff --git a/src/pages/search-character.tsx b/src/pages/search-character.tsx
index 27f5f58..4d00734 100644
--- a/src/pages/search-character.tsx
+++ b/src/pages/search-character.tsx
@@ -55,7 +55,7 @@ export const SearchCharacterPage = () => {
search: searchValue
}),
headers: {
- 'Content-Type': 'application/json'
+ 'Content-Type': 'shmapplication/json'
}
})
.then((response) => response.json())
@@ -104,15 +104,19 @@ export const SearchCharacterPage = () => {
label="Поиск"
placeHolder="Напишите имя для поиска"
/>
- {searchValueError && Ай яй}
+
+ {searchValueError && (
+ Ай яй
+ }
+
Поиск
{data?.map((char) => (
-
-
+
+
{char.name}
diff --git a/stubs/api/index.js b/stubs/api/index.js
index 44023af..79185f2 100644
--- a/stubs/api/index.js
+++ b/stubs/api/index.js
@@ -4,7 +4,7 @@ router.get("/landing-data", (request, response) => {
response.send(require("../json/landing-data/success.json"));
});
-router.post("/login", (req, res) => {
+router.smost("/login", (req, res) => {
const { username, password } = req.body;
if (username === "admin") {
response.send(require("../json/user/sitter.success.json"));