Skip to content

Commit

Permalink
fix video for Virtual Visions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobeyw committed Jan 24, 2024
1 parent 2a350f3 commit 5cfc948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo3fura_http/biz/api/src.GetNFTByContractHashTokenId.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 5cfc948

Please sign in to comment.