diff options
author | Holger <holgerhuo@outlook.com> | 2021-08-20 14:39:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-20 07:39:37 +0100 |
commit | 0cae6c07bb64b86bb1ac7188c11ddf182021aa5b (patch) | |
tree | 287ab3b9e8e212a22284eba1f2e93080f2abc658 | |
parent | ce8f41e56095efe4381a8bd7436f50ef55109321 (diff) |
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.
-rw-r--r-- | app/services/unsuspend_account_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |