updated to version 0.1.32
This commit is contained in:
parent
166dbb97d2
commit
7efb22023c
@ -6,7 +6,7 @@
|
||||
"authors": [
|
||||
{ "name": "Robin Riis" }
|
||||
],
|
||||
"version": "0.1.31",
|
||||
"version": "0.1.32",
|
||||
"socket": true,
|
||||
"minimumCoreVersion": 10,
|
||||
"compatibility": {
|
||||
|
||||
@ -7,9 +7,9 @@ export class PuckoPruttApi {
|
||||
}
|
||||
|
||||
async _fetch_json(url) {
|
||||
const response = await foundry.utils.fetchJsonWithTimeout(this.apiUrl + url);
|
||||
const dagens = await response.json();
|
||||
return dagens;
|
||||
await foundry.utils.fetchJsonWithTimeout(this.apiUrl + url).then(dagens => {
|
||||
return dagens;
|
||||
});
|
||||
}
|
||||
|
||||
dagens_lunch(spider) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user