Updated ReportService to not create new reports if account is already suspended
• Updated: - ReportService to not create new reports if account is already suspended
This commit is contained in:
parent
4bb2f1b745
commit
2548205487
|
@ -8,6 +8,8 @@ class ReportService < BaseService
|
||||||
@comment = options.delete(:comment) || ''
|
@comment = options.delete(:comment) || ''
|
||||||
@options = options
|
@options = options
|
||||||
|
|
||||||
|
return nil if @target_account.suspended_at != nil
|
||||||
|
|
||||||
create_report!
|
create_report!
|
||||||
|
|
||||||
@report
|
@report
|
||||||
|
|
Loading…
Reference in New Issue