Skip to content

Commit

Permalink
rm sortBy from idb query
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalmi committed Aug 25, 2023
1 parent 008e566 commit b3d90e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/nostr/IndexedDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const IndexedDB = {
query = query.limit(filter.limit);
}
// TODO test that the sort is actually working
await query.sortBy('-created_at').each(handleEvent);
await query.each(handleEvent);
},
};

Expand Down

0 comments on commit b3d90e0

Please sign in to comment.