Skip to content

Commit

Permalink
use post_decode in view_stream
Browse files Browse the repository at this point in the history
  • Loading branch information
lazedo committed Mar 1, 2016
1 parent 6b5c479 commit 7f08f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/couchbeam_view_stream.erl
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ collect_object({_, Event}, {_, NestCount, [Last|Terms], ViewSt}) ->
{collect_object, NestCount, [[Event] ++ Last] ++ Terms, ViewSt}.

send_row(Row, #viewst{owner=Owner, ref=Ref}=ViewSt) ->
Owner ! {Ref, {row, Row}},
Owner ! {Ref, {row, couchbeam_ejson:post_decode(Row)}},
maybe_continue_decoding(ViewSt).

%% eventually wait for the next call from the parent
Expand Down

0 comments on commit 7f08f04

Please sign in to comment.