From: Holger Date: Fri, 20 Aug 2021 06:39:37 +0000 (+0800) Subject: Fix #16603 (#16605) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=0cae6c07bb64b86bb1ac7188c11ddf182021aa5b;p=mastodon.git Fix #16603 (#16605) Fix issue #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. --- diff --git a/app/services/unsuspend_account_service.rb b/app/services/unsuspend_account_service.rb index 949c670aa..b383f126a 100644 --- a/app/services/unsuspend_account_service.rb +++ b/app/services/unsuspend_account_service.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true class UnsuspendAccountService < BaseService + include Payloadable def call(account) @account = account