From 014753e127d91dc83b1fe35740a24c4c9ced1046 Mon Sep 17 00:00:00 2001 From: Alexis THOMAS Date: Thu, 5 Dec 2019 15:38:30 +0100 Subject: [PATCH] fix(cookieStore): error in getAllCookies typo in Array.prototype call was throwing a TypeError --- www/local-storage-store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/local-storage-store.js b/www/local-storage-store.js index 2b90278..c25e41a 100644 --- a/www/local-storage-store.js +++ b/www/local-storage-store.js @@ -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])); }); });