Skip to content

Commit

Permalink
better digest
Browse files Browse the repository at this point in the history
  • Loading branch information
vanakenm committed Dec 23, 2017
1 parent 44929c3 commit 2ac1653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/commands_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def create
EffinLog.create(
effin_quote: quote,
random: random,
team_doman: Digest::SHA256.digest(command_params[:team_domain]),
team_doman: Digest::SHA256.hexdigest(command_params[:team_domain]),
text: command_params[:text]
)

Expand Down

0 comments on commit 2ac1653

Please sign in to comment.