Actually that didn't do anything.
This commit is contained in:
parent
7125bc2d2a
commit
b47d679d69
1 changed files with 0 additions and 4 deletions
|
@ -37,10 +37,6 @@ class GetJson {
|
|||
this.url = url;
|
||||
}
|
||||
|
||||
get item() {
|
||||
return this.item;
|
||||
}
|
||||
|
||||
async item() {
|
||||
const resp = await fetch(`${this.url}`);
|
||||
console.assert(resp.status == 200, "failed to get it");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue