From 863236d47876ed417bc40255ab21a86651fe5cb3 Mon Sep 17 00:00:00 2001 From: WinterMyst Date: Thu, 26 Sep 2024 13:51:27 +0200 Subject: [PATCH] JAVASCRIPT --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 5938e46..d219d8d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -310,7 +310,7 @@ async function publishToFoundry(done) { const responseData = await response.text(); - if (responseData.contains('success')) { + if (responseData.includes('success')) { console.log('Successfully published to Foundry VTT:'); console.log(JSON.stringify(responseData, null, 2)); done();