mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 03:43:42 +01:00
Fix nil account issue in ProcessAccountService (#7019)
This commit is contained in:
parent
2e59751823
commit
6ff3b3e4db
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue