From f06b72d1d447f33dfa6222c0a3c0c5e063558248 Mon Sep 17 00:00:00 2001 From: Bryant Syme Date: Tue, 31 Jan 2023 07:28:19 -0800 Subject: [PATCH] Fix documentation for store.findCookies, missing allowSpecialUseDomain property (#257) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8568905c..fb11f3ce 100644 --- a/README.md +++ b/README.md @@ -406,7 +406,7 @@ Retrieve a cookie with the given domain, path, and key (name). The RFC maintains Callback takes an error and the resulting `Cookie` object. If no cookie is found then `null` MUST be passed instead (that is, not an error). -#### `store.findCookies(domain, path, callback(err, cookies))` +#### `store.findCookies(domain, path, allowSpecialUseDomain, callback(err, cookies))` Locates cookies matching the given domain and path. This is most often called in the context of [`cookiejar.getCookies()`](#getcookiescurrenturl-options-callbackerr-cookies).