Browse Source

修复

pull/342/head
yystopf 3 years ago
parent
commit
b8decd92a4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/queries/blockchain/balance_query.rb

+ 1
- 1
app/queries/blockchain/balance_query.rb View File

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


Loading…
Cancel
Save