Skip to content

Commit

Permalink
fix urlencoded extended deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jun 19, 2014
1 parent fc7409e commit 7974397
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
unreleased
==========

* fix urlencoded extended deprecation message

1.4.0 / 2014-06-19
==================

Expand Down
2 changes: 1 addition & 1 deletion lib/types/urlencoded.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function urlencoded(options){
options = options || {};

// notice because option default will flip in next major
if (extended === undefined) {
if (options.extended === undefined) {
deprecate('urlencoded: explicitly specify "extended: true" for extended parsing')
}

Expand Down

0 comments on commit 7974397

Please sign in to comment.