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

th-downstream
Claire 2 years ago committed by GitHub
parent 0b91816814
commit 78f77cb5d4

@ -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

Loading…
Cancel
Save