fix(cookieStore): error in getAllCookies

typo in Array.prototype call was throwing a TypeError
This commit is contained in:
Alexis THOMAS
2019-12-05 15:38:30 +01:00
committed by GitHub
parent 5ee26bc2cc
commit 014753e127
+1 -1
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]));
});
});