Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix issue mastodon#16603 undefined method `serialize_payload' for Unsuspend Account Service error.
It seems that this service forgot to `include Payloadable` so that `serialize_payload` could not be found in this service.
  • Loading branch information
Holger authored Aug 14, 2021
1 parent 0c24c86 commit b46dccc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/services/unsuspend_account_service.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

class UnsuspendAccountService < BaseService
include Payloadable
def call(account)
@account = account

Expand Down

0 comments on commit b46dccc

Please sign in to comment.