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.
signup-info-prompt
Holger 2021-08-20 14:39:37 +08:00 committed by GitHub
parent ce8f41e560
commit 0cae6c07bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
class UnsuspendAccountService < BaseService class UnsuspendAccountService < BaseService
include Payloadable
def call(account) def call(account)
@account = account @account = account