We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d22d39e + 6ed0880 commit 2f1ec96Copy full SHA for 2f1ec96
app/controllers/api/v2/nft/items_controller.rb
@@ -3,7 +3,7 @@ module V2
3
class NFT::ItemsController < BaseController
4
before_action :find_collection
5
def index
6
- scope = TokenItem.normal.includes(:collection)
+ scope = TokenItem.normal.includes(:collection, :type_script, :owner, cell: [:cell_datum])
7
if params[:owner]
8
@owner = Address.find_address!(params[:owner])
9
scope = scope.where(owner_id: @owner.id)
0 commit comments