From 6e7178db8f7955ef2b4246f65284df2447289043 Mon Sep 17 00:00:00 2001 From: Chris Shepherd Date: Mon, 20 Aug 2018 16:41:46 +0100 Subject: [PATCH] fix: delegate - data does not exist in value --- src/Delegate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Delegate.ts b/src/Delegate.ts index 920739f5..2173d375 100644 --- a/src/Delegate.ts +++ b/src/Delegate.ts @@ -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() {