From 6e69dd8681b831039d48525b9de2e65e4fe9685d Mon Sep 17 00:00:00 2001 From: WinterMyst Date: Thu, 26 Sep 2024 13:42:11 +0200 Subject: [PATCH] dfgbhe --- gulpfile.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 34a1ea0..a058013 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -308,12 +308,7 @@ async function publishToFoundry(done) { body: JSON.stringify(payload), }); - let responseData; - if (contentType && contentType.includes('application/json')) { - responseData = await response.json(); - } else { - responseData = await response.text(); - } + const responseData = await response.text(); if (responseData.status === 'success') { console.log('Successfully published to Foundry VTT:');