Added mock build. Part 2
This commit is contained in:
@@ -204,4 +204,16 @@ class DBase
|
||||
@last_id = id
|
||||
end
|
||||
end
|
||||
|
||||
def get_git_recips(git_id)
|
||||
res = []
|
||||
recip = RepocRecips.where(repo_id: git_id.to_i).all
|
||||
unless recip.nil?
|
||||
res = recip.map do |item|
|
||||
rcp_info = Recips[item[:recip_id]]
|
||||
rcp_info
|
||||
end
|
||||
end
|
||||
res
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user