We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4227794 commit 6154833Copy full SHA for 6154833
main.go
@@ -116,7 +116,7 @@ func checkForNewAlert() {
116
slices.Reverse(res.ListWidgets)
117
for _, post := range res.ListWidgets {
118
// check if post is already in database
119
- key := fmt.Sprintf("post-%s", post.Data.Token)
+ key := fmt.Sprintf("post-%s-%d", post.Data.Token, alert.Id)
120
_, err := txn.Get([]byte(key))
121
if errors.Is(err, badger.ErrKeyNotFound) {
122
// post not found, save it to database
0 commit comments