4 ms·
Ugh, looks like a copy-pasto when moving the blog into the CMS, will get that fixed, thanks. The code was supposed to be: let namePromise = api.getMyName(
by kentonv 1y ago
Ugh, looks like a copy-pasto when moving the blog into the CMS, will get that fixed, thanks.
The code was supposed to be:
let namePromise = api.getMyName();
let result = await api.hello(namePromise);
console.log(result);