summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2023-01-04 17:01:36 +0000
committerJan Lehnardt <jan@apache.org>2023-01-05 15:20:20 +0100
commit008033ab50981e33317b8acb4944173da0d2d508 (patch)
tree351c66ec4e1375d5a35f2f8bb5ca7c8aa6cf9d77
parentf6ddbe24cace7a841508c451bc12820b9d76c218 (diff)
downloadcouchdb-008033ab50981e33317b8acb4944173da0d2d508.tar.gz
fix undef when parsing replication doc body
Closes https://github.com/apache/couchdb-fauxton/issues/1382
-rw-r--r--src/couch_replicator/src/couch_replicator_parse.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch_replicator/src/couch_replicator_parse.erl b/src/couch_replicator/src/couch_replicator_parse.erl
index 2359bbd2f..8cad4d9a3 100644
--- a/src/couch_replicator/src/couch_replicator_parse.erl
+++ b/src/couch_replicator/src/couch_replicator_parse.erl
@@ -490,7 +490,7 @@ get_json_value(Key, Obj) ->
couch_replicator_utils:get_json_value(Key, Obj).
get_json_value(Key, Obj, Default) ->
- couch_replicator_util:get_json_value(Key, Obj, Default).
+ couch_replicator_utils:get_json_value(Key, Obj, Default).
-ifdef(TEST).