Merge pull request #1058 from Retrospring/fix-remote-ip-again

use remote_ip 2: electric boogaloo
This commit is contained in:
Georg Gadinger 2023-02-07 07:42:17 +01:00 committed by GitHub
commit 6ba17893b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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