Skip to content

Commit aacdc73

Browse files
committed
Crontab - save the proccessed history to REDIS - 1
1 parent 8ca45f7 commit aacdc73

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

internal/repository/nft_auctions_available.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"context"
55
"dapp-moderator/internal/entity"
66
"dapp-moderator/utils"
7+
"go.mongodb.org/mongo-driver/bson/primitive"
78
"strings"
89
"time"
910

@@ -66,13 +67,13 @@ func (r *Repository) NftWithoutCapturedImage(contractAddress string, offset int,
6667
bson.D{
6768
{"$match",
6869
bson.D{
69-
{"token_id", "185"},
70+
//{"token_id", "185"},
7071
{"collection_address", strings.ToLower(contractAddress)},
71-
//{"image_capture_at", bson.D{{"$in", bson.A{
72-
// "",
73-
// primitive.Null{},
74-
//},
75-
//}}},
72+
{"image_capture_at", bson.D{{"$in", bson.A{
73+
"",
74+
primitive.Null{},
75+
},
76+
}}},
7677
},
7778
},
7879
},

0 commit comments

Comments
 (0)