From 7ed30ff7208d5581cc95ca71ce653753008acc99 Mon Sep 17 00:00:00 2001 From: Tben Date: Mon, 7 Aug 2023 05:12:14 +0100 Subject: [PATCH] Type Checking --- package.json | 2 +- utils/functions/parseCookies.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3ab9a38..1e0df68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.2.6", + "version": "1.2.7", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": { diff --git a/utils/functions/parseCookies.js b/utils/functions/parseCookies.js index a25a857..08ccb5c 100644 --- a/utils/functions/parseCookies.js +++ b/utils/functions/parseCookies.js @@ -41,6 +41,7 @@ module.exports = function ({ request }) { /** @type {string[]} */ const cookieSplitArray = cookieString.split(";"); + /** @type {*} */ let cookieObject = {}; cookieSplitArray.forEach((keyValueString) => {