diff options
author | Starfall <us@starfall.systems> | 2020-11-20 16:54:00 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2020-11-20 16:54:00 -0600 |
commit | 19548d0a4bc303ca8017599577e21a6d522eb7bd (patch) | |
tree | ef4ada7e8138aa510b0d54509e99ba1fc30995bc /app/services/unsuspend_account_service.rb | |
parent | 383bb3804bdbd6caa442283cc96ef0cdbfdb4575 (diff) | |
parent | 24696458bf22c8529b49f89b2791e3e07583b7e0 (diff) |
Merge branch 'glitch' into main
Diffstat (limited to 'app/services/unsuspend_account_service.rb')
-rw-r--r-- | app/services/unsuspend_account_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/unsuspend_account_service.rb b/app/services/unsuspend_account_service.rb index a81d1ac4f..f07a3f053 100644 --- a/app/services/unsuspend_account_service.rb +++ b/app/services/unsuspend_account_service.rb @@ -69,6 +69,8 @@ class UnsuspendAccountService < BaseService Rails.logger.warn "Tried to change permission on non-existent file #{attachment.path(style)}" end end + + CacheBusterWorker.perform_async(attachment.path(style)) if Rails.configuration.x.cache_buster_enabled end end end |