aboutsummaryrefslogtreecommitdiffstats
path: root/lib/register.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-14 10:44:59 -0700
committerAdam Soltys <[email protected]>2024-10-14 10:44:59 -0700
commit0c24ae9feedbcc90d88b6dc1be46095fb786dd93 (patch)
treed62a9966558e8f5de86175007169f77e9167d814 /lib/register.ts
parent73fab93255e7d8bbede4b7f881064dd5b89f93be (diff)
downloadcoinos-server-0c24ae9feedbcc90d88b6dc1be46095fb786dd93.tar.gz
coinos-server-0c24ae9feedbcc90d88b6dc1be46095fb786dd93.zip
pubkeys cache
Diffstat (limited to 'lib/register.ts')
-rw-r--r--lib/register.ts1
1 files changed, 1 insertions, 0 deletions
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();