Skip to content

Commit f2745f6

Browse files
sergicalbitsandfoxes
authored andcommitted
docs(js): Update Next.js manual server action instructions (#13299)
1 parent 09973e3 commit f2745f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/platforms/javascript/guides/nextjs/manual-setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ export default function ServerComponent() {
369369
"myServerAction", // The name you want to associate this Server Action with in Sentry
370370
{
371371
formData, // Optionally pass in the form data
372-
headers: headers(), // Optionally pass in headers
372+
headers: await headers(), // Optionally pass in headers
373373
recordResponse: true, // Optionally record the server action response
374374
},
375375
async () => {

0 commit comments

Comments
 (0)