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:
Developer 2021-02-11 14:30:37 -05:00
parent 4bb2f1b745
commit 2548205487
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ class ReportService < BaseService
@comment = options.delete(:comment) || ''
@options = options
return nil if @target_account.suspended_at != nil
create_report!
@report