Skip to content

Commit

Permalink
Making doc_info and doc body info simpler, for use by couchstore.
Browse files Browse the repository at this point in the history
Makes api and types simpler. Corrsponding changes made here.

Change-Id: I107c3fc3f4a707f247ec376faea14d5c756a6877
Reviewed-on: http://review.couchbase.org/13098
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Damien Katz <damien@couchbase.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
  • Loading branch information
Damien Katz committed Feb 14, 2012
1 parent bf81993 commit 6a522bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geocouch/couch_spatial_group.erl
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ open_db_group(DbName, GroupId) ->


design_doc_to_spatial_group(Doc) ->
#doc{id=Id, json={Fields}} = couch_doc:with_ejson_body(Doc),
#doc{id=Id, body={Fields}} = couch_doc:with_ejson_body(Doc),
Language = couch_util:get_value(<<"language">>, Fields, <<"javascript">>),
{DesignOptions} = couch_util:get_value(<<"options">>, Fields, {[]}),
{RawIndexes} = couch_util:get_value(<<"spatial">>, Fields, {[]}),
Expand Down

0 comments on commit 6a522bf

Please sign in to comment.