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

Access response with data field #116

Open
shakhal opened this issue Jul 7, 2021 · 0 comments
Open

Access response with data field #116

shakhal opened this issue Jul 7, 2021 · 0 comments

Comments

@shakhal
Copy link

shakhal commented Jul 7, 2021

Expected Behavior

response data is retrieved

Actual Behavior

access to response object fails.

had to access response by 'data' field to get to 'id' and 'replies'.

driveResponse.id --> driveResponse.data.id
result.replies --> result.data.replies

Steps to Reproduce the Problem

  1. run the code

Specifications

  • Node version (node -v) : v12.14.0
  • OS (Mac/Linux/Windows) : OSX
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