Closed dougg0k closed 2 years ago
I actually got it working by doing it this way.
let nft = col!.borrowMomentNFT(id: id)
let editionData = AllDay.getEditionData(id: nft!.editionID)
let setData = AllDay.getSetData(id: editionData!.setID)
let seriesData = AllDay.getSeriesData(id: editionData!.seriesID)
let playData = AllDay.getPlayData(id: editionData!.playID)
Hi, I have been trying calling these functions, while data are returned by the
borrowMomentNFT
These do not work, they actually fail the script.
Could you guys change so that it returns a nil/null instead of panicking the script? Otherwise the other data that would be available, are not, just because there is no data in those calls.