We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09973e3 commit f2745f6Copy full SHA for f2745f6
docs/platforms/javascript/guides/nextjs/manual-setup.mdx
@@ -369,7 +369,7 @@ export default function ServerComponent() {
369
"myServerAction", // The name you want to associate this Server Action with in Sentry
370
{
371
formData, // Optionally pass in the form data
372
- headers: headers(), // Optionally pass in headers
+ headers: await headers(), // Optionally pass in headers
373
recordResponse: true, // Optionally record the server action response
374
},
375
async () => {
0 commit comments