Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

Commit bd6c7f7

Browse files
committed
Update README.md
1 parent e55242d commit bd6c7f7

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
@@ -45,7 +45,7 @@ CookieManager.setFromResponse('http://example.com', 'user_session=abcdefg; path=
4545
})
4646

4747
// Get cookies as a request header string
48-
CookieManager.get('http://example.com', (res) => {
48+
CookieManager.get('http://example.com', (err, res) => {
4949
console.log('Got cookies for url', res);
5050
// Outputs 'user_session=abcdefg; path=/;'
5151
})

0 commit comments

Comments
 (0)