#What's wrong with my code

3 messages · Page 1 of 1 (latest)

slim bough
#

What problem, exactly?

#

Also:

let json = data.json();

.json() is async and returns a promise. You need to await it as well:

let json = await data.json();