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