use remote_ip 2: electric boogaloo

This commit is contained in:
Georg Gadinger 2023-02-07 07:38:59 +01:00
parent c5b442c529
commit 9a77b89cda
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class Ajax::QuestionController < AjaxController
UseCase::Question::CreateFollowers.call( UseCase::Question::CreateFollowers.call(
source_user_id: current_user.id, source_user_id: current_user.id,
content: params[:question], content: params[:question],
author_identifier: AnonymousBlock.get_identifier(request.ip) author_identifier: AnonymousBlock.get_identifier(request.remote_ip)
) )
return return
end end