1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 06:48:28 +09:00

Fix Pubsubhubbub::UnsubscribeService

This commit is contained in:
Eugen Rochko 2016-11-28 18:14:49 +01:00
parent 79e41fbd51
commit 7e5e33df48

View File

@ -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?