Remove uneeded assertion

This commit is contained in:
Adw8 committed 2025-02-03 18:37:50 +05:30
1 parent 38d8c95767
commit 09c46bbd56
1 file changed
+1 -1
+1 -1
View File
@@ -98,7 +98,7 @@ export async function POST(req: NextRequest): Promise<NextResponse> {
)
}
const pinataResult = await uploadToPinata(imageUrl!);
const pinataResult = await uploadToPinata(imageUrl);
if (pinataResult.error) {
return NextResponse.json(