From 28601435979b074822e4e08161b2eebf9f6ba974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=BC=E3=83=BC=E3=83=AC?= Date: Sat, 7 Jun 2025 21:45:26 +0500 Subject: [PATCH] Update profile.js --- api/v1/src/profile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1/src/profile.js b/api/v1/src/profile.js index 8c4596b..e800afc 100644 --- a/api/v1/src/profile.js +++ b/api/v1/src/profile.js @@ -15,7 +15,7 @@ async function getProfileFromAnixart(profileId, token = '') { // Проверка верификации try { - const verifiedResponse = await axios.get('https://anixart.seele.su/api/is_verified'); + const verifiedResponse = await axios.get('https://anixart.seele.su/api/admin/is_verified'); const verifiedList = verifiedResponse.data; const alreadyVerified = !!profileData.profile.is_verified; @@ -33,7 +33,7 @@ async function getProfileFromAnixart(profileId, token = '') { // Подгружаем кастомные роли try { - const rolesResponse = await axios.get('https://anixart.seele.su/api/is_roles'); + const rolesResponse = await axios.get('https://anixart.seele.su/api/admin/is_roles'); const rolesList = rolesResponse.data; const userRoles = rolesList.find(entry => entry.id === Number(profileId));