mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-15 21:32:35 +00:00
Load config variables type as symbols
This commit is contained in:
@@ -134,7 +134,7 @@ module TAC
|
||||
end
|
||||
|
||||
def self.from_json(hash)
|
||||
Variable.new(name: hash[:name], type: hash[:type], value: hash[:value])
|
||||
Variable.new(name: hash[:name], type: hash[:type].to_sym, value: hash[:value])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user