small fix to logging
This commit is contained in:
parent
a572637e4c
commit
6f4ffee1e4
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ module Postzord
|
||||||
def receive_object
|
def receive_object
|
||||||
obj = @object.receive(@user, @author)
|
obj = @object.receive(@user, @author)
|
||||||
Notification.notify(@user, obj, @author) if obj.respond_to?(:notification_type)
|
Notification.notify(@user, obj, @author) if obj.respond_to?(:notification_type)
|
||||||
Rails.logger.info("event=receive status=complete recipient=#{@user_person.diaspora_handle} sender=#{@sender.diaspora_handle} payload_type#{obj.class}")
|
Rails.logger.info("event=receive status=complete recipient=#{@user_person.diaspora_handle} sender=#{@sender.diaspora_handle} payload_type=#{obj.class}")
|
||||||
obj
|
obj
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue