diff --git a/gulpfile.js b/gulpfile.js index b43c5c8..5938e46 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -310,7 +310,7 @@ async function publishToFoundry(done) { const responseData = await response.text(); - if (responseData.status === 'success') { + if (responseData.contains('success')) { console.log('Successfully published to Foundry VTT:'); console.log(JSON.stringify(responseData, null, 2)); done();