Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix path to get last sequence

  • Loading branch information...
commit 65e67cd931c0f5d87274fbeeb604b281e39bc2af 1 parent a4eb921
@benoitc benoitc authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/couch_replicator/src/couch_replicator_api_wrap.erl
View
2  apps/couch_replicator/src/couch_replicator_api_wrap.erl
@@ -126,7 +126,7 @@ get_db_info(#db{name = DbName, user_ctx = UserCtx}) ->
get_view_seq(#httpdb{} = Db, Rep) ->
#rep{view = {DDoc, VName},
options = Options} = Rep,
- Path = binary_to_list(DDoc) ++ "/_view" ++ binary_to_list(VName) ++
+ Path = binary_to_list(DDoc) ++ "/_view/" ++ binary_to_list(VName) ++
"/_last_seq",
send_req(Db, [{path, Path}, {qs, view_qargs(Options)}],
fun(200, _, {Props}) ->
Please sign in to comment.
Something went wrong with that request. Please try again.