about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2022-11-28 17:33:28 -0600
committerStarfall <us@starfall.systems>2022-11-28 17:50:34 -0600
commit7972854512ddb50eb84f9d8bdc50fdc48854df09 (patch)
tree8b4e4e971b055f01deac17160065a352caf52a8b /app/controllers/api
parentcb9dad90b01c9f53d1910cf128eb22200bdb9884 (diff)
remove domain blocks from api
what legitimate use is there for a machine-readable block list?
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/v1/instances/domain_blocks_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/api/v1/instances/domain_blocks_controller.rb b/app/controllers/api/v1/instances/domain_blocks_controller.rb
index 37a6906fb..e81c4de28 100644
--- a/app/controllers/api/v1/instances/domain_blocks_controller.rb
+++ b/app/controllers/api/v1/instances/domain_blocks_controller.rb
@@ -1,8 +1,6 @@
 # frozen_string_literal: true
 
 class Api::V1::Instances::DomainBlocksController < Api::BaseController
-  skip_before_action :require_authenticated_user!, unless: :whitelist_mode?
-
   before_action :require_enabled_api!
   before_action :set_domain_blocks