forked from mito-systems/sol-mem-gen
Remove uneeded assertion
This commit is contained in:
parent
38d8c95767
commit
09c46bbd56
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user