Skip to content

Commit

Permalink
Merge pull request #126 from decert-me/fix/collection-transaction
Browse files Browse the repository at this point in the history
Fix 合集多链交易解析缺少链ID
  • Loading branch information
0xdwong authored Feb 28, 2024
2 parents 070ae76 + 0c6b19a commit 756f1b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/job/dao/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ func (d *Dao) UpdateCollectionOnce(collectionID int64, quest model.Quest) error
Uri: quest.Uri,
MetaData: quest.MetaData,
Recommend: quest.Recommend,
ChainID: quest.ChainID,
}
return d.db.Model(&model.Collection{}).Where("id = ? AND (token_id = '0' OR token_id = '')", collectionID).Updates(collection).Error
}

0 comments on commit 756f1b0

Please sign in to comment.