Closed shadichy closed 2 years ago
The following error can be resolved by wrapping await calls in an async
function. Probably you didn't do that, that's why this error occurred. Add async
before the function name should help you out.
is there any way to do that (or the same thing) without async
?
You could use promises and resolve them.
ok, thanks sorry for wasting your time
No issues, glad to help :)