Skip to content

Commit

Permalink
fix call to publish_fields
Browse files Browse the repository at this point in the history
  • Loading branch information
lazedo committed Mar 9, 2016
1 parent 8284d3c commit 75a7ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/kazoo_data/src/kzs_doc.erl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ prepare_doc_for_del(Server, DbName, Doc) ->
[{<<"_id">>, Id}
,{<<"_rev">>, DocRev}
,{<<"_deleted">>, 'true'}
| publish_fields(Doc)
| kzs_publish:publish_fields(Doc)
])).

-spec prepare_doc_for_save(ne_binary(), wh_json:object()) -> {wh_json:object(), wh_json:object()}.
Expand Down

0 comments on commit 75a7ba7

Please sign in to comment.