Skip to content

Commit 014753e

Browse files
authored
fix(cookieStore): error in getAllCookies
typo in Array.prototype call was throwing a TypeError
1 parent 5ee26bc commit 014753e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/local-storage-store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ module.exports = function init(ToughCookie, _) {
146146

147147
Object.keys(store).forEach(function (domain) {
148148
Object.keys(store[domain]).forEach(function (path) {
149-
Array.protype.push.apply(cookies, _.values(store[domain][path]));
149+
Array.prototype.push.apply(cookies, _.values(store[domain][path]));
150150
});
151151
});
152152

0 commit comments

Comments
 (0)