Merge pull request #275 from ath0mas/patch-1

Fix WebStorageCookieStore getAllCookies()
This commit is contained in:
Sefa Ilkimen 2019-12-14 02:08:23 +01:00 committed by GitHub
commit 3d1b195831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,7 @@ module.exports = function init(ToughCookie, _) {
Object.keys(store).forEach(function (domain) {
Object.keys(store[domain]).forEach(function (path) {
Array.protype.push.apply(cookies, _.values(store[domain][path]));
Array.prototype.push.apply(cookies, _.values(store[domain][path]));
});
});