fix syntax typo in websocket-gateway router.rb
This commit is contained in:
parent
52c8b48d81
commit
e5dc8b57ec
|
|
@ -1002,8 +1002,7 @@ product']
|
|||
puts "O/S = #{os}"
|
||||
puts "========================="
|
||||
# if we have OS data, try to grab client update data and let the client have it
|
||||
update = ArtifactUpdate.find_client_by_os(product, os) if client_type == Connection:
|
||||
:TYPE_CLIENT && os
|
||||
update = ArtifactUpdate.find_client_by_os(product, os) if client_type == Connection::TYPE_CLIENT && os
|
||||
|
||||
client_update = update.update_data if update
|
||||
|
||||
|
|
@ -1053,8 +1052,7 @@ product']
|
|||
end
|
||||
end
|
||||
# if we have OS data, try to grab client update data and let the client have it
|
||||
update = ArtifactUpdate.find_client_by_os(product, os) if client_type == Connection:
|
||||
:TYPE_CLIENT && os
|
||||
update = ArtifactUpdate.find_client_by_os(product, os) if client_type == Connection::TYPE_CLIENT && os
|
||||
|
||||
client_update = update.update_data if update
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue