spaceship/lib/spaceship/connect_api/token.rb in fastlane-2.195.0 vs spaceship/lib/spaceship/connect_api/token.rb in fastlane-2.196.0
- old
+ new
@@ -27,10 +27,10 @@
# There is no way to determine if the team associated with this
# key is for App Store or Enterprise so this is the temporary workaround
attr_accessor :in_house
def self.from(hash: nil, filepath: nil)
- api_token ||= self.create(**hash) if hash
+ api_token ||= self.create(**hash.transform_keys(&:to_sym)) if hash
api_token ||= self.from_json_file(filepath) if filepath
return api_token
end
def self.from_json_file(filepath)