git » sdk » commit b869f92

Fix typo

author Stephen Paul Weber
2026-03-31 16:08:02 UTC
committer Stephen Paul Weber
2026-03-31 16:08:02 UTC
parent bbf31de3168da17b99a21aa5f0debd6f2f689cfe

Fix typo

borogove/persistence/IDB.js +1 -1

diff --git a/borogove/persistence/IDB.js b/borogove/persistence/IDB.js
index cf9d90d..0670d77 100644
--- a/borogove/persistence/IDB.js
+++ b/borogove/persistence/IDB.js
@@ -764,7 +764,7 @@ export default async (dbname, media, tokenize, stemmer) => {
 				cresult.continue();
 			}
 
-			return result.sort((a, b) => a.timestamp < b.timstamp ? -1 : (a.timestamp > b.timestamp ? 1 : 0));
+			return result.sort((a, b) => a.timestamp < b.timestamp ? -1 : (a.timestamp > b.timestamp ? 1 : 0));
 		},
 
 		hasMedia: function(hashAlgorithm, hash) {