updatebroker 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/updatebroker/updatebroker.rb +1 -1
- data/lib/updatebroker/version.rb +1 -1
- metadata +1 -1
@@ -17,7 +17,7 @@ class UpdateBroker < Goliath::API
|
|
17
17
|
env.logger.info "Request for '#{path}'"
|
18
18
|
return [404, {}, "Not found"] unless path == "/events"
|
19
19
|
|
20
|
-
channel = env.params[:channel]
|
20
|
+
channel = env.params[:channel] || env.params['channel']
|
21
21
|
env.logger.info "On channel '#{channel}'"
|
22
22
|
return [404, {}, "Channel required"] if channel.nil? || channel == ""
|
23
23
|
|
data/lib/updatebroker/version.rb
CHANGED