updated to version 0.1.32

This commit is contained in:
KungKurt 2025-02-23 23:04:22 +01:00
parent 166dbb97d2
commit 7efb22023c
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
"authors": [ "authors": [
{ "name": "Robin Riis" } { "name": "Robin Riis" }
], ],
"version": "0.1.31", "version": "0.1.32",
"socket": true, "socket": true,
"minimumCoreVersion": 10, "minimumCoreVersion": 10,
"compatibility": { "compatibility": {

View File

@ -7,9 +7,9 @@ export class PuckoPruttApi {
} }
async _fetch_json(url) { async _fetch_json(url) {
const response = await foundry.utils.fetchJsonWithTimeout(this.apiUrl + url); await foundry.utils.fetchJsonWithTimeout(this.apiUrl + url).then(dagens => {
const dagens = await response.json(); return dagens;
return dagens; });
} }
dagens_lunch(spider) { dagens_lunch(spider) {