add contact search (#98)

This commit is contained in:
KM Koushik authored and GitHub committed 2025-02-03 22:41:34 +11:00
1 parent 78fc6fe5bb
commit d224be07a2
3 files changed
+38 -6

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ export function getGravatarUrl(
size: 80,
defaultImage: "identicon",
rating: "g",
},
}
) {
const trimmedEmail = email.trim().toLowerCase();
const hash = crypto.createHash("sha256").update(trimmedEmail).digest("hex");