Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Commit

Permalink
Use chttpd:qs* instead of couch_httpd:qs*
Browse files Browse the repository at this point in the history
  • Loading branch information
iilyak committed Jul 23, 2015
1 parent d9f4803 commit aa3df32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/global_changes_httpd.erl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

handle_global_changes_req(#httpd{method='GET'}=Req) ->
Db = global_changes_util:get_dbname(),
Feed = couch_httpd:qs_value(Req, "feed", "normal"),
Feed = chttpd:qs_value(Req, "feed", "normal"),
Options = parse_global_changes_query(Req),
Heartbeat = case lists:keyfind(heartbeat, 1, Options) of
{heartbeat, true} -> 60000;
Expand Down Expand Up @@ -225,7 +225,7 @@ parse_global_changes_query(Req) ->
_Else -> % unknown key value pair, ignore.
Args
end
end, [], couch_httpd:qs(Req)).
end, [], chttpd:qs(Req)).


to_non_neg_int(Value) ->
Expand Down

0 comments on commit aa3df32

Please sign in to comment.