From 5cfc948094397d838cde3b2e4f2c667e6762fdb3 Mon Sep 17 00:00:00 2001 From: Tobeyw Date: Wed, 24 Jan 2024 20:27:42 +0800 Subject: [PATCH] fix video for Virtual Visions --- neo3fura_http/biz/api/src.GetNFTByContractHashTokenId.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo3fura_http/biz/api/src.GetNFTByContractHashTokenId.go b/neo3fura_http/biz/api/src.GetNFTByContractHashTokenId.go index e450834..3a65bea 100644 --- a/neo3fura_http/biz/api/src.GetNFTByContractHashTokenId.go +++ b/neo3fura_http/biz/api/src.GetNFTByContractHashTokenId.go @@ -306,7 +306,7 @@ func (me *T) GetNFTByContractHashTokenId(args struct { } } - if item["name"] != nil && item["name"].(string) == "Nuanced Floral Symphony" || item["name"].(string) == "Sunshine #1" || item["name"].(string)[0:15] == "Virtual Visions" { + if item["name"] != nil && item["name"].(string) == "Nuanced Floral Symphony" || item["name"].(string) == "Sunshine #1" || strings.HasPrefix(item["name"].(string), "Virtual Visions") { item["video"] = item["image"] delete(item, "image") }