diff options
Diffstat (limited to 'lib/register.ts')
| -rw-r--r-- | lib/register.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/register.ts b/lib/register.ts index f2e97fed..42a283a3 100644 --- a/lib/register.ts +++ b/lib/register.ts @@ -64,6 +64,8 @@ export default async (user, ip) => { .set(`user:${pubkey}`, id) .set(`balance:${id}`, 0) .set(`account:${id}`, account) + .set(`${pubkey}:follows:n`, 0) + .set(`${pubkey}:followers:n`, 0) .lPush(`${id}:accounts`, id) .exec(); |
