mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix Pubsubhubbub::UnsubscribeService
This commit is contained in:
parent
79e41fbd51
commit
7e5e33df48
@ -1,6 +1,6 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Pubsubhubbub::SubscribeService < BaseService
|
class Pubsubhubbub::UnsubscribeService < BaseService
|
||||||
def call(account, callback)
|
def call(account, callback)
|
||||||
return ['Invalid topic URL', 422] if account.nil?
|
return ['Invalid topic URL', 422] if account.nil?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user