diff --git a/api/community/posts.ts b/api/community/posts.ts index c46ff815..80595d6a 100644 --- a/api/community/posts.ts +++ b/api/community/posts.ts @@ -110,7 +110,7 @@ export default async function handler(req: any, res: any) { return res.status(500).json({ error: error.message }); } - const createdPost = data?.[0]; + const createdPost = (data?.[0] as any); // Sync post to Discord feed webhook try {