This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
add project.nil? in
pull/319/head
nigel007
5 years ago
parent
c0515b9e7f
commit
f8fa3c2b31
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
app/queries/blockchain/balance_query.rb
+ 3
- 0
app/queries/blockchain/balance_query.rb
View File
@@ -13,6 +13,9 @@ class Blockchain::BalanceQuery < ApplicationQuery
result_list = []
token_list.each do |t|
project = Project.find_by(id: t['token_name'].to_i)
if project.nil?
next
end
owner = User.find_by(id: project.user_id)
if owner.nil? || project.nil?
else
Write
Preview
Loading…
Cancel
Save