Skip to content

Commit bb7805a

Browse files
committed
Resolve change in private indieweb-endpoints gem API
1 parent 9fc7ef2 commit bb7805a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/webmention/url.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def response
3535

3636
# @return [String, nil]
3737
def webmention_endpoint
38-
@webmention_endpoint ||= IndieWeb::Endpoints::Parser.new(response).results[:webmention] if response.ok?
38+
@webmention_endpoint ||= IndieWeb::Endpoints::Parser.new(response).to_h[:webmention] if response.ok?
3939
end
4040

4141
# @return [Boolean]

0 commit comments

Comments
 (0)