Update [userId].ts

This commit is contained in:
2024-08-16 23:27:08 +05:00
committed by GitHub
parent 05ba81a783
commit e5ca0595be

View File

@@ -11,7 +11,6 @@ type ProfileResponse = {
code: number;
profile?: {
id: number;
avatar: string;
is_verified: boolean;
is_sponsor: boolean;
is_sponsor_transferred: boolean;
@@ -31,7 +30,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
const currentProfile = anixartRes.data.profile && userId === '140275'
? {
...anixartRes.data.profile,
avatar: `https://cdn.hentaigifz.com/98224/bump-it-cartoon-scaled.webp`,
is_verified: true,
is_sponsor: false,
sponsorshipExpires: Number.MAX_SAFE_INTEGER,