fix syntax typo in websocket-gateway router.rb

This commit is contained in:
Nuwan 2024-03-16 16:38:33 +05:30
parent 52c8b48d81
commit e5dc8b57ec
1 changed files with 2 additions and 4 deletions

View File

@ -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