nobejs / access

1 stars 7 forks source link

TypeError: Cannot read property 'body' of undefined #50

Closed ghost closed 1 year ago

ghost commented 1 year ago

Summary

TypeError: Cannot read property 'body' of undefined
  File "/app/src/stories/Users/LoginWithWhatsApp/story.js", line 39, in handle
    prepareResult.entry[0].changes[0].value.messages[0].text.body;
  File "/app/core/executeStrategy.js", line 33, in null.<anonymous>
    executionContext[`${ord}Result`] = await context[ord].apply(null, [
  File "/app/core/loadEndpoints.js", line 45, in async Object.<anonymous>
    let result = await endpointStrategy(endpoint[2], {

/cc @rjvim @rajeshn95 @ShubhamJoshi-1994 @maheshmuttinti

rjvim commented 1 year ago

@maheshmuttinti Why aren't we fixing this? Pl let me know what do you need.

ghost commented 1 year ago

@maheshmuttinti Why aren't we fixing this? Pl let me know what do you need.

@rjvim This is fixed in this PR commit - https://github.com/nobejs/access/pull/49/commits/1766378026f3e91ef95800d51f9f2d69acc78f2e