mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-16 05:42:35 +00:00
Load config variables type as symbols
This commit is contained in:
@@ -134,7 +134,7 @@ module TAC
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.from_json(hash)
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user