Skip to content

Commit fdfbe14

Browse files
SanzSeraphdougwilson
authored andcommitted
docs: improve JSONCookies description
closes #39
1 parent aec8032 commit fdfbe14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Parse a cookie value as a JSON cookie. This will return the parsed JSON value if
3838

3939
### cookieParser.JSONCookies(cookies)
4040

41-
Given an object, this will iterate over the keys and call `JSONCookie` on each value. This will return the same object passed in.
41+
Given an object, this will iterate over the keys and call `JSONCookie` on each value, replacing the original value with the parsed value. This returns the same object that was passed in.
4242

4343
### cookieParser.signedCookie(str, secret)
4444

0 commit comments

Comments
 (0)