From c347cbaa48479f70b9e8f8e0d0b1ed42c4262c45 Mon Sep 17 00:00:00 2001 From: ZhongFuze Date: Mon, 15 Apr 2024 12:56:57 +0800 Subject: [PATCH] [!] fix solana.nft() --- src/tigergraph/vertex/identity.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tigergraph/vertex/identity.rs b/src/tigergraph/vertex/identity.rs index 26b77720..f55bc045 100644 --- a/src/tigergraph/vertex/identity.rs +++ b/src/tigergraph/vertex/identity.rs @@ -988,7 +988,9 @@ impl IdentityRecord { limit: u16, offset: u16, ) -> Result, Error> { - if self.attributes.platform != Platform::Ethereum { + if self.attributes.platform != Platform::Ethereum + && self.attributes.platform != Platform::Solana + { return Ok(vec![]); } // query see in Solution: nfts(VERTEX p, SET categories, INT numPerPage, INT pageNum)