Fix #4184: post_versions API throws when user is 'anonymous'
This commit is contained in:
@@ -255,7 +255,7 @@ class PostArchive < ApplicationRecord
|
||||
end
|
||||
|
||||
def updater_name
|
||||
updater.name
|
||||
updater&.name
|
||||
end
|
||||
|
||||
def api_attributes
|
||||
|
||||
Reference in New Issue
Block a user