Skip to content

Commit

Permalink
disable auth check (#198)
Browse files Browse the repository at this point in the history
*disable auth check on for_you timeline
  • Loading branch information
jtomchak authored Oct 29, 2023
1 parent 79e8c55 commit 5afaa21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/api/v3/timelines/for_you_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# frozen_string_literal: true

class Api::V3::Timelines::ForYouController < Api::BaseController
before_action :require_mammoth!
# TODO: Re-enable with fix
# before_action :require_mammoth!
before_action :set_for_you_default, only: [:show]

after_action :insert_pagination_headers, only: [:show], unless: -> { @statuses.empty? }
Expand Down

0 comments on commit 5afaa21

Please sign in to comment.