mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
修复
This commit is contained in:
@@ -9,7 +9,7 @@ class Blockchain::BalanceQuery < ApplicationQuery
|
||||
|
||||
def call
|
||||
if is_current_admin_user
|
||||
token_list, total_count = find_repo_with_token(params["user_id"], (params["page"]), (params["limit"]))
|
||||
token_list, total_count = find_repo_with_token(params["user_id"], (params["page"] || 1), (params["limit"] || 10))
|
||||
result_list = []
|
||||
token_list.each do |t|
|
||||
project = Project.find_by(id: t['token_name'].to_i)
|
||||
|
||||
Reference in New Issue
Block a user