JAVASCRIPT
This commit is contained in:
parent
34238b7dc9
commit
863236d478
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user