From 8eaa4e6eda9d71e3fd1034bbc87a9cad624ad8e4 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sat, 29 Oct 2016 12:45:02 +0100 Subject: [PATCH] User lowercase json keys for before+after --- util/item/yield.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/item/yield.go b/util/item/yield.go index 77e504de..f7fbe357 100644 --- a/util/item/yield.go +++ b/util/item/yield.go @@ -35,8 +35,8 @@ func (this *Doc) Yield(output sql.Token, fallback sql.Token) (res interface{}) { res = this.initial.Data() case sql.BOTH: res = map[string]interface{}{ - "After": this.current.Data(), - "Before": this.initial.Data(), + "after": this.current.Data(), + "fefore": this.initial.Data(), } }