Fixed crash at startup when there is no data cached for applications. Fixes #10

This commit is contained in:
2025-04-26 07:16:22 -05:00
parent 696c30aa63
commit c344e6a522

View File

@@ -279,7 +279,7 @@ class W3DHub
hash[:applications] << app unless app_in_array hash[:applications] << app unless app_in_array
end end
Store.applications = Api::Applications.new(hash.to_json) Store.applications = Api::Applications.new(hash.to_json) unless hash[:applications].empty?
end end
end end
end end