Skip to content

Commit

Permalink
Merge pull request #239 from Tobeyw/dev-mindy
Browse files Browse the repository at this point in the history
fix video for Virtual Visions
  • Loading branch information
Tobeyw authored Jan 24, 2024
2 parents f10b2ac + 5cfc948 commit 9a4ec95
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 9a4ec95

Please sign in to comment.