From 78f77cb5d4ec17ec0cf1653b9d6450c331c9045c Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 31 Oct 2022 16:31:44 +0100 Subject: [PATCH] Change featured hashtag deletion to be done synchronously (#19590) --- app/controllers/settings/featured_tags_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/settings/featured_tags_controller.rb b/app/controllers/settings/featured_tags_controller.rb index b3db04a426..c384402650 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