diff --git a/src/pages/api/extension/profile/[userId].ts b/src/pages/api/extension/profile/[userId].ts index 06d945d..ed92734 100644 --- a/src/pages/api/extension/profile/[userId].ts +++ b/src/pages/api/extension/profile/[userId].ts @@ -27,19 +27,22 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) try { const anixartRes = await axios.get(anixartAPI); - const currentProfile = anixartRes.data.profile && userId === '1207425' + const currentProfile = anixartRes.data.profile && userId === '790852' ? { ...anixartRes.data.profile, is_verified: true, - is_sponsor: true, - is_perm_banned: false, - is_sponsor_transferred: false, + is_sponsor: false, sponsorshipExpires: Number.MAX_SAFE_INTEGER, roles: [ { id: 1, - name: "Тестовый аккаунт", - color: "F04E4E" + name: "Разработчик мода", + color: "B656E5" + }, + { + id: 2, + name: "Anixart Extension", + color: "F04E4E" } ], }