Skip to content

Commit

Permalink
fix: delegate - data does not exist in value
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Shepherd committed Aug 20, 2018
1 parent d349174 commit 6e7178d
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 6e7178d

Please sign in to comment.