Update profile.js
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user