Update [userId].ts

This commit is contained in:
2024-08-16 23:16:22 +05:00
committed by GitHub
parent 69d3fa617c
commit 5815fcb505

View File

@@ -27,7 +27,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
try { try {
const anixartRes = await axios.get<ProfileResponse>(anixartAPI); const anixartRes = await axios.get<ProfileResponse>(anixartAPI);
const currentProfile = anixartRes.data.profile && userId === '790852' const currentProfile = anixartRes.data.profile && userId === '140275'
? { ? {
...anixartRes.data.profile, ...anixartRes.data.profile,
is_verified: true, is_verified: true,