Update [userId].ts
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user