This commit is contained in:
yystopf 2023-03-10 09:34:22 +08:00
parent 841126c0fc
commit b8decd92a4
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Blockchain::BalanceQuery < ApplicationQuery
def call def call
if is_current_admin_user 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 = [] result_list = []
token_list.each do |t| token_list.each do |t|
project = Project.find_by(id: t['token_name'].to_i) project = Project.find_by(id: t['token_name'].to_i)