Fix double-hashing in `Ajax::AnonymousBlockController#create`

This commit is contained in:
Karina Kwiatek 2022-06-15 00:28:47 +02:00 committed by Karina Kwiatek
parent e660b731d7
commit abd07373e3
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class Ajax::AnonymousBlockController < AjaxController
AnonymousBlock.create!( AnonymousBlock.create!(
user: current_user, user: current_user,
identifier: AnonymousBlock.get_identifier(question.author_identifier), identifier: question.author_identifier,
question: question question: question
) )