Please note that it is better to post your code than a screenshot of an excerpt as it does not provide a complete picture.
What is the definition of generateThumbnail()
?
You are awaiting a Promise in a synchronous function. The function makeHTML
is not defined with the async
keyword, but you are using await
in it.
Thank you, it’s just works