Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Making doc_info and doc body info simpler, for use by couchstore.

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...
commit 6a522bf91d9adaf47be956a7d70dded514990098 1 parent bf81993
Damien Katz Damienkatz authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/geocouch/couch_spatial_group.erl
2  src/geocouch/couch_spatial_group.erl
@@ -355,7 +355,7 @@ open_db_group(DbName, GroupId) ->
355 355
356 356
357 357 design_doc_to_spatial_group(Doc) ->
358   - #doc{id=Id, json={Fields}} = couch_doc:with_ejson_body(Doc),
  358 + #doc{id=Id, body={Fields}} = couch_doc:with_ejson_body(Doc),
359 359 Language = couch_util:get_value(<<"language">>, Fields, <<"javascript">>),
360 360 {DesignOptions} = couch_util:get_value(<<"options">>, Fields, {[]}),
361 361 {RawIndexes} = couch_util:get_value(<<"spatial">>, Fields, {[]}),

0 comments on commit 6a522bf

Please sign in to comment.
Something went wrong with that request. Please try again.