Added mock build. Part 2

This commit is contained in:
alexey
2025-03-11 23:54:19 +03:00
parent 48b648f46b
commit 103be7f402
7 changed files with 63 additions and 4 deletions

View File

@@ -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