JAVASCRIPT
This commit is contained in:
parent
34238b7dc9
commit
863236d478
@ -310,7 +310,7 @@ async function publishToFoundry(done) {
|
|||||||
|
|
||||||
const responseData = await response.text();
|
const responseData = await response.text();
|
||||||
|
|
||||||
if (responseData.contains('success')) {
|
if (responseData.includes('success')) {
|
||||||
console.log('Successfully published to Foundry VTT:');
|
console.log('Successfully published to Foundry VTT:');
|
||||||
console.log(JSON.stringify(responseData, null, 2));
|
console.log(JSON.stringify(responseData, null, 2));
|
||||||
done();
|
done();
|
||||||
|
Loading…
Reference in New Issue
Block a user