diff --git a/main.go b/main.go index 7143166..7062afa 100644 --- a/main.go +++ b/main.go @@ -89,7 +89,7 @@ func getRandomOpenSeaAsset() (Asset, error) { continue } id := getOpenSeaId(a.Id) - file, err := os.Open(filepath.Join(NFTS_DIR, id)) + file, err := os.Open(filepath.Join(NFTS_DIR, id+".json")) defer file.Close() if errors.Is(err, fs.ErrNotExist) { return a, nil