diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-10-31 16:31:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 16:31:44 +0100 |
commit | bb1ef11c30b19db56b61b0918b176e1459e1f776 (patch) | |
tree | 9e01eb353699f3e3c5b81a6a134b79a81c6016f6 | |
parent | 2d9a85db6efe0c9ccfda1420551ce3d6025bc27e (diff) |
Change featured hashtag deletion to be done synchronously (#19590)
-rw-r--r-- | app/controllers/settings/featured_tags_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/featured_tags_controller.rb b/app/controllers/settings/featured_tags_controller.rb index b3db04a42..c38440265 100644 --- a/app/controllers/settings/featured_tags_controller.rb +++ b/app/controllers/settings/featured_tags_controller.rb @@ -23,7 +23,7 @@ class Settings::FeaturedTagsController < Settings::BaseController end def destroy - RemoveFeaturedTagWorker.perform_async(current_account.id, @featured_tag.id) + RemoveFeaturedTagService.new.call(current_account, @featured_tag) redirect_to settings_featured_tags_path end |