about summary refs log tree commit diff
path: root/app/lib/activitypub
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2019-12-03 02:25:43 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-12-02 18:25:43 +0100
commit6be16d02cb3f03d21226f9b6664d33e3e8650043 (patch)
tree078570307ddd9fa3386484f1e25bb043babbf805 /app/lib/activitypub
parent27d5d02925252314e4ec81bca8f72c5f91a55b7f (diff)
Update ESLint and RuboCop in Code Climate (#12534)
Diffstat (limited to 'app/lib/activitypub')
-rw-r--r--app/lib/activitypub/adapter.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/activitypub/adapter.rb b/app/lib/activitypub/adapter.rb
index 2a8f72333..78138fb73 100644
--- a/app/lib/activitypub/adapter.rb
+++ b/app/lib/activitypub/adapter.rb
@@ -35,6 +35,7 @@ class ActivityPub::Adapter < ActiveModelSerializers::Adapter::Base
   def serializable_hash(options = nil)
     named_contexts     = {}
     context_extensions = {}
+
     options         = serialization_options(options)
     serialized_hash = serializer.serializable_hash(options.merge(named_contexts: named_contexts, context_extensions: context_extensions))
     serialized_hash = serialized_hash.select { |k, _| options[:fields].include?(k) } if options[:fields]