Skip to content

Commit

Permalink
Use rails 7.1 default config
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Nov 26, 2024
1 parent f18b732 commit 7e61bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/stacks_media_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def self.verify_encrypted_token?(encrypted_string, expected_id, expected_file_na
end

def self.create_from_hash(token_hash)
new token_hash[:id], token_hash[:file_name], token_hash[:user_ip]
new token_hash['id'], token_hash['file_name'], token_hash['user_ip']
end
private_class_method :create_from_hash

Expand Down

0 comments on commit 7e61bad

Please sign in to comment.