diff options
Diffstat (limited to 'app/lib/webfinger.rb')
-rw-r--r-- | app/lib/webfinger.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/webfinger.rb b/app/lib/webfinger.rb index c7aa43bb3..702365939 100644 --- a/app/lib/webfinger.rb +++ b/app/lib/webfinger.rb @@ -21,7 +21,7 @@ class Webfinger private def links - @links ||= @json['links'].map { |link| [link['rel'], link] }.to_h + @links ||= @json['links'].index_by { |link| link['rel'] } end end |