diff --git a/app/api/nodes/route.ts b/app/api/nodes/route.ts index 4efeed2..7ba26ec 100644 --- a/app/api/nodes/route.ts +++ b/app/api/nodes/route.ts @@ -47,8 +47,8 @@ export async function POST(request: NextRequest) { const detailUrl = `${process.env.NEXT_PUBLIC_APP_URL || 'https://ponderants.app'}/galaxy/${encodeURIComponent(nodeId)}`; // --- Step 1: Write to Source of Truth (ATproto) --- - let atp_uri: string; - let atp_cid: string; + let atp_uri = ''; + let atp_cid = ''; try { // Get the OAuth client and restore the user's session