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

Set this.request.body to {} if no body #14

Closed
RHavar opened this issue Apr 1, 2015 · 2 comments
Closed

Set this.request.body to {} if no body #14

RHavar opened this issue Apr 1, 2015 · 2 comments

Comments

@RHavar
Copy link
Contributor

RHavar commented Apr 1, 2015

Or is there a good reason not to? It gets a bit tedious having to write: if (this.request.body && this.request.body.foo)

@dead-horse
Copy link
Member

LGTM, can you send a PR for this?

@RHavar
Copy link
Contributor Author

RHavar commented Apr 2, 2015

Closing, we can discuss on PR #15

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

No branches or pull requests

2 participants