1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07: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?