From 33b2b26e4cd9854fb721a0afe069951d47bc3b67 Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Thu, 12 Sep 2019 17:43:51 -0500 Subject: [PATCH] Update main.js --- lib/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index f7ca378..6a33c9e 100644 --- a/lib/main.js +++ b/lib/main.js @@ -45,7 +45,9 @@ async function run() { per_page: 100 }) } catch (e) { - tags = {} + tags = { + data: [] + } } // Check for existance of tag and abort (short circuit) if it already exists.