Skip to content
Snippets Groups Projects
Commit 6ff3b3e4 authored by Nolan Lawson's avatar Nolan Lawson Committed by Eugen Rochko
Browse files

Fix nil account issue in ProcessAccountService (#7019)

parent 2e597518
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ class ActivityPub::ProcessAccountService < BaseService
after_protocol_change! if protocol_changed?
after_key_change! if key_changed?
check_featured_collection! if @account.featured_collection_url.present?
check_featured_collection! if @account&.featured_collection_url&.present?
@account
rescue Oj::ParseError
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment