Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

params.result.forEach is not a function #14

Open
Lesnock opened this issue Nov 2, 2020 · 0 comments
Open

params.result.forEach is not a function #14

Lesnock opened this issue Nov 2, 2020 · 0 comments

Comments

@Lesnock
Copy link

Lesnock commented Nov 2, 2020

When I try to iterate over params.result, it does not work.

params.result.forEach(row => {
      console.log(row)
})

It throws this error:
UnhandledPromiseRejectionWarning: TypeError: params.result.forEach is not a function

I'm seeing that params.result is a object, not an array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant