Skip to content
New issue

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

Fix missing response headers for ApiRoutes #448

Conversation

adamdicarlo0
Copy link
Contributor

@adamdicarlo0 adamdicarlo0 commented Jan 20, 2024

I put in some debug code where I made this change and discovered the headers are only present in the body object.

The statusCode is present in the body object as well, but it is also in the main object, so I left that intact.

Copy link

netlify bot commented Jan 20, 2024

👷 Deploy request for elm-pages-todos pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 96f46f6

@adamdicarlo0
Copy link
Contributor Author

Whoops, #428 beat me to it. I knew I'd seen something about this before.

@adamdicarlo0 adamdicarlo0 deleted the fix-api-route-response-headers branch November 4, 2024 21:54
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.

1 participant