From e5dc8b57ecc8e5332e996de40dae9f226ae70666 Mon Sep 17 00:00:00 2001 From: Nuwan Date: Sat, 16 Mar 2024 16:38:33 +0530 Subject: [PATCH] fix syntax typo in websocket-gateway router.rb --- websocket-gateway/lib/jam_websockets/router.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/websocket-gateway/lib/jam_websockets/router.rb b/websocket-gateway/lib/jam_websockets/router.rb index b616ca98b..5aecbe467 100644 --- a/websocket-gateway/lib/jam_websockets/router.rb +++ b/websocket-gateway/lib/jam_websockets/router.rb @@ -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