Skip to content
Snippets Groups Projects
Unverified Commit bb1ef11c authored by Claire's avatar Claire Committed by GitHub
Browse files

Change featured hashtag deletion to be done synchronously (#19590)

parent 2d9a85db
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment