mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-30 21:13:47 +01:00
Add missing require_auth? in StatusController
This commit is contained in:
parent
52f9449b3d
commit
e326d44f29
2 changed files with 5 additions and 1 deletions
|
@ -55,4 +55,8 @@ class Api::V1::Trends::StatusesController < Api::BaseController
|
|||
def records_continue?
|
||||
@statuses.size == limit_param(DEFAULT_STATUSES_LIMIT)
|
||||
end
|
||||
|
||||
def require_auth?
|
||||
!Setting.timeline_preview
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ module Mastodon
|
|||
end
|
||||
|
||||
def suffix_version
|
||||
'+1.1.4'
|
||||
'+1.1.5'
|
||||
end
|
||||
|
||||
def to_a
|
||||
|
|
Loading…
Reference in a new issue