Skip to content

Commit

Permalink
Merge pull request #150 from sailci/master
Browse files Browse the repository at this point in the history
fix: delegate - data does not exist in value
  • Loading branch information
Divyendu Singh authored Aug 28, 2018
2 parents d349174 + 6e7178d commit 3f79a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Delegate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class Delegate {
return {
async next() {
const { value } = await iterator.next()
const data = { [info.fieldName]: value.data[fieldName] }
const data = { [info.fieldName]: value[fieldName] }
return { value: data, done: false }
},
return() {
Expand Down

0 comments on commit 3f79a79

Please sign in to comment.