updated to version 0.1.32
This commit is contained in:
parent
166dbb97d2
commit
7efb22023c
@ -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": {
|
||||||
|
|||||||
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user