Update [userId].ts
This commit is contained in:
@@ -11,6 +11,7 @@ type ProfileResponse = {
|
|||||||
code: number;
|
code: number;
|
||||||
profile?: {
|
profile?: {
|
||||||
id: number;
|
id: number;
|
||||||
|
avatar: string;
|
||||||
is_verified: boolean;
|
is_verified: boolean;
|
||||||
is_sponsor: boolean;
|
is_sponsor: boolean;
|
||||||
is_sponsor_transferred: boolean;
|
is_sponsor_transferred: boolean;
|
||||||
@@ -30,6 +31,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||||||
const currentProfile = anixartRes.data.profile && userId === '140275'
|
const currentProfile = anixartRes.data.profile && userId === '140275'
|
||||||
? {
|
? {
|
||||||
...anixartRes.data.profile,
|
...anixartRes.data.profile,
|
||||||
|
avatar: https://cdn.hentaigifz.com/98224/bump-it-cartoon-scaled.webp,
|
||||||
is_verified: true,
|
is_verified: true,
|
||||||
is_sponsor: false,
|
is_sponsor: false,
|
||||||
sponsorshipExpires: Number.MAX_SAFE_INTEGER,
|
sponsorshipExpires: Number.MAX_SAFE_INTEGER,
|
||||||
|
|||||||
Reference in New Issue
Block a user