Correct formating imports

This commit is contained in:
Shreyaschorge
2025-07-07 16:07:33 +05:30
parent 193dffe03a
commit 2a1a3d7c40
38 changed files with 1012 additions and 469 deletions

View File

@@ -1,5 +1,5 @@
import { NeynarAPIClient } from '@neynar/nodejs-sdk';
import { NextResponse } from 'next/server';
import { NeynarAPIClient } from '@neynar/nodejs-sdk';
export async function GET(request: Request) {
const apiKey = process.env.NEYNAR_API_KEY;
@@ -12,14 +12,14 @@ export async function GET(request: Request) {
error:
'Neynar API key is not configured. Please add NEYNAR_API_KEY to your environment variables.',
},
{ status: 500 }
{ status: 500 },
);
}
if (!fids) {
return NextResponse.json(
{ error: 'FIDs parameter is required' },
{ status: 400 }
{ status: 400 },
);
}
@@ -39,7 +39,7 @@ export async function GET(request: Request) {
error:
'Failed to fetch users. Please check your Neynar API key and try again.',
},
{ status: 500 }
{ status: 500 },
);
}
}