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 4d85a45 commit 5d8dd62Copy full SHA for 5d8dd62
docs/platforms/javascript/guides/nextjs/manual-setup.mdx
@@ -379,7 +379,7 @@ export default function ServerComponent() {
379
"myServerAction", // The name you want to associate this Server Action with in Sentry
380
{
381
formData, // Optionally pass in the form data
382
- headers: headers(), // Optionally pass in headers
+ headers: await headers(), // Optionally pass in headers
383
recordResponse: true, // Optionally record the server action response
384
},
385
async () => {
0 commit comments