Skip to content

Conversation

lforst
Copy link
Contributor

@lforst lforst commented Sep 12, 2023

Fixes #8977

Next.js moved the internal file we depend on to grab headers of incoming request so we need to check the new location.

@@ -1,3 +1,3 @@
export async function PUT() {
export async function PUT(): Promise<Response> {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason the new version wants types here. I think nextjs has some kind of ts plugin that checks for this.

@lforst lforst force-pushed the lforst-fix-async-storage branch from fb327d0 to e27c44c Compare September 12, 2023 09:50
@lforst lforst merged commit 5a42bd9 into develop Sep 12, 2023
@lforst lforst deleted the lforst-fix-async-storage branch September 12, 2023 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect NEXTJS_REQUEST_ASYNC_STORAGE_MODULE_PATH in Next.js 13.4.20
2 participants