Fix #4184: post_versions API throws when user is 'anonymous'

This commit is contained in:
evazion
2019-10-06 00:42:51 -05:00
parent 188602abcc
commit fbb5076c70

View File

@@ -255,7 +255,7 @@ class PostArchive < ApplicationRecord
end
def updater_name
updater.name
updater&.name
end
def api_attributes