mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Don't log nip05 cache
This commit is contained in:
parent
1271e36f7e
commit
8d021865c6
1 changed files with 1 additions and 4 deletions
|
|
@ -43,10 +43,7 @@ const nostrJsonSchema = z.object({
|
|||
*/
|
||||
function lookupNip05Cached(value: string): Promise<string | null> {
|
||||
const cached = nip05Cache.get(value);
|
||||
if (cached !== undefined) {
|
||||
console.log(`Using cached NIP-05 for ${value}`);
|
||||
return cached;
|
||||
}
|
||||
if (cached !== undefined) return cached;
|
||||
|
||||
console.log(`Looking up NIP-05 for ${value}`);
|
||||
const result = lookup(value);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue