node-samples icon indicating copy to clipboard operation
node-samples copied to clipboard

Access response with data field

Open shakhal opened this issue 3 years ago • 0 comments

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

shakhal avatar Jul 07 '21 20:07 shakhal