FIX broken topic embedding because of incomplete security patch (#22088) (#22184)

This commit is contained in:
communiteq 2023-06-19 20:49:04 +02:00 committed by GitHub
parent 21c80f5993
commit 76620c2502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -50,6 +50,6 @@ class TopicRetriever
user = User.where(username_lower: username.downcase).first
return if user.blank?
TopicEmbed.import_remote(user, @embed_url)
TopicEmbed.import_remote(@embed_url, user: user)
end
end