SessionActivation and groups query change
This commit is contained in:
parent
63ad3a1590
commit
645def5f96
|
@ -8,7 +8,7 @@ class SortingQueryBuilder < BaseService
|
||||||
min_reblogs = 2
|
min_reblogs = 2
|
||||||
min_replies = 1
|
min_replies = 1
|
||||||
date_limit = 5.years.ago
|
date_limit = 5.years.ago
|
||||||
pure_limit = "NOW() - INTERVAL '14 days'"
|
pure_limit = "NOW() - INTERVAL '3 days'"
|
||||||
max_page = 8
|
max_page = 8
|
||||||
|
|
||||||
case sort_type
|
case sort_type
|
||||||
|
|
|
@ -18,6 +18,7 @@ Rails.application.routes.draw do
|
||||||
|
|
||||||
Doorkeeper::AccessToken.connection.stick_to_master!
|
Doorkeeper::AccessToken.connection.stick_to_master!
|
||||||
Doorkeeper::AccessGrant.connection.stick_to_master!
|
Doorkeeper::AccessGrant.connection.stick_to_master!
|
||||||
|
SessionActivation.connection.stick_to_master!
|
||||||
|
|
||||||
use_doorkeeper do
|
use_doorkeeper do
|
||||||
controllers authorizations: 'oauth/authorizations',
|
controllers authorizations: 'oauth/authorizations',
|
||||||
|
|
Loading…
Reference in New Issue