We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As you can see in this ss that mbdata in the header is coming as null.
Code below
import { headers } from 'next/headers'; import { NextResponse } from 'next/server'; export async function GET() { const headersList = headers(); const mbMetadata = JSON.parse(headersList.get('mb-metadata') || '{}'); const accountId = mbMetadata?.accountData?.accountId || 'near'; return NextResponse.json({ accountId: accountId }); }
The text was updated successfully, but these errors were encountered:
@microchipgnu @SurgeCode anything to solve this ?
Sorry, something went wrong.
Merge pull request BitteProtocol#2 from Mintbase/spec-fetch-retry
d3e9d80
Retry for fetching API spec
No branches or pull requests
As you can see in this ss that mbdata in the header is coming as null.
Code below
The text was updated successfully, but these errors were encountered: