mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 06:14:22 +01:00
fixing implementation of previous commit in multiple places.
This commit is contained in:
@@ -47,7 +47,7 @@ func deleteOldCachedEvents(ctx context.Context) {
|
||||
|
||||
if expires < now {
|
||||
// time to delete this
|
||||
id := spl[2]
|
||||
id := spl[1]
|
||||
res, _ := wdb.QuerySync(ctx, nostr.Filter{IDs: []string{id}})
|
||||
if len(res) > 0 {
|
||||
log.Debug().Msgf("deleting %s", res[0].ID)
|
||||
|
||||
Reference in New Issue
Block a user