From: Eugen Rochko Date: Mon, 28 Nov 2016 17:14:49 +0000 (+0100) Subject: Fix Pubsubhubbub::UnsubscribeService X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=7e5e33df48e507e18a226edc8dfecbf554d38647;p=mastodon.git Fix Pubsubhubbub::UnsubscribeService --- diff --git a/app/services/pubsubhubbub/unsubscribe_service.rb b/app/services/pubsubhubbub/unsubscribe_service.rb index a2fdc548a..62459a0aa 100644 --- a/app/services/pubsubhubbub/unsubscribe_service.rb +++ b/app/services/pubsubhubbub/unsubscribe_service.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class Pubsubhubbub::SubscribeService < BaseService +class Pubsubhubbub::UnsubscribeService < BaseService def call(account, callback) return ['Invalid topic URL', 422] if account.nil?