From c344e6a522b274448ed565ceb2b4cb0af16310d9 Mon Sep 17 00:00:00 2001 From: Cyberarm Date: Sat, 26 Apr 2025 07:16:22 -0500 Subject: [PATCH] Fixed crash at startup when there is no data cached for applications. Fixes #10 --- lib/states/boot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/states/boot.rb b/lib/states/boot.rb index 27d167d..9275bf9 100644 --- a/lib/states/boot.rb +++ b/lib/states/boot.rb @@ -279,7 +279,7 @@ class W3DHub hash[:applications] << app unless app_in_array end - Store.applications = Api::Applications.new(hash.to_json) + Store.applications = Api::Applications.new(hash.to_json) unless hash[:applications].empty? end end end