comment out
This commit is contained in:
parent
4095090992
commit
02f5035100
|
@ -21,7 +21,7 @@ module Travis::API::V3
|
|||
list = list.where(private: bool(private)) unless private.nil?
|
||||
list = list.includes(:owner) if includes? 'repository.owner'.freeze
|
||||
# where the repo is starred
|
||||
list = list.where(starred: bool(Repository.joins(:starred_repository).where(starred_repository: { repository_id: 1, user_id: current_user.id }))) unless starred.nil?
|
||||
# list = list.where(starred: bool(Repository.joins(:starred_repository).where(starred_repository: { repository_id: 1, user_id: user.id }))) unless starred.nil?
|
||||
|
||||
if includes? 'repository.last_build'.freeze or includes? 'build'.freeze
|
||||
list = list.includes(:last_build)
|
||||
|
|
Loading…
Reference in New Issue
Block a user