This commit is contained in:
mgabdev
2020-12-15 19:31:30 -05:00
parent de0c977950
commit 75d52c841e
129 changed files with 2559 additions and 910 deletions

View File

@@ -5,6 +5,10 @@ class UpdateAccountService < BaseService
was_locked = account.locked
update_method = raise_error ? :update! : :update
# : todo :
# check if link blocking
# set account.is_flagged_as_spam
account.send(update_method, params).tap do |ret|
next unless ret