From 0c24ae9feedbcc90d88b6dc1be46095fb786dd93 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 14 Oct 2024 10:44:59 -0700 Subject: pubkeys cache --- lib/register.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/register.ts b/lib/register.ts index 42a283a3..c2677c30 100644 --- a/lib/register.ts +++ b/lib/register.ts @@ -66,6 +66,7 @@ export default async (user, ip) => { .set(`account:${id}`, account) .set(`${pubkey}:follows:n`, 0) .set(`${pubkey}:followers:n`, 0) + .set(`${pubkey}:pubkeys`, "[]") .lPush(`${id}:accounts`, id) .exec(); -- cgit v1.2.3