summaryrefslogtreecommitdiff
path: root/lib/nickserver/couch/fetch_key.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nickserver/couch/fetch_key.rb')
-rw-r--r--lib/nickserver/couch/fetch_key.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nickserver/couch/fetch_key.rb b/lib/nickserver/couch/fetch_key.rb
index c671515..3fe2a63 100644
--- a/lib/nickserver/couch/fetch_key.rb
+++ b/lib/nickserver/couch/fetch_key.rb
@@ -24,7 +24,7 @@ module Nickserver; module Couch
#
def couch_request(uid)
query = {"reduce" => "false", "key" => "\"#{uid}\""}
- request = EventMachine::HttpRequest.new(FetchKey.couch_url).get(:timeout => @timeout, :query => query)
+ request = EventMachine::HttpRequest.new(FetchKey.couch_url).get(timeout: @timeout, query: query)
request.callback {|http|
if http.response_header.status != 200
self.fail http.response_header.status, 'Unknown Error'