about summary refs log tree commit diff
path: root/app/services/unsuspend_account_service.rb
diff options
context:
space:
mode:
authorHolger <holgerhuo@outlook.com>2021-08-20 14:39:37 +0800
committerGitHub <noreply@github.com>2021-08-20 07:39:37 +0100
commit0cae6c07bb64b86bb1ac7188c11ddf182021aa5b (patch)
tree287ab3b9e8e212a22284eba1f2e93080f2abc658 /app/services/unsuspend_account_service.rb
parentce8f41e56095efe4381a8bd7436f50ef55109321 (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.
Diffstat (limited to 'app/services/unsuspend_account_service.rb')
-rw-r--r--app/services/unsuspend_account_service.rb1
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