diff options
| author | Adam Soltys <[email protected]> | 2025-07-10 12:25:09 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-07-10 12:37:05 -0700 |
| commit | 81a7608330f3cb3eae513429b61a8611267547a3 (patch) | |
| tree | 92dbf3955cddaa5bedf492bbb63593fb8b298cc0 /lib | |
| parent | 9e6d7773f2b7de51d09aa8203ecdc854ef8f076f (diff) | |
| download | coinos-server-81a7608330f3cb3eae513429b61a8611267547a3.tar.gz coinos-server-81a7608330f3cb3eae513429b61a8611267547a3.zip | |
fresh attribute
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/register.ts | 2 | ||||
| -rw-r--r-- | lib/whitelist.ts | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/register.ts b/lib/register.ts index 107be6ea..0db5dfd0 100644 --- a/lib/register.ts +++ b/lib/register.ts @@ -85,6 +85,8 @@ export default async (user, ip) => { await s(`app:${app.pubkey}`, app); await db.sAdd(`${id}:apps`, app.pubkey); + console.log("USER", user); + db.multi() .set(`user:${id}`, JSON.stringify(user)) .set(`user:${username}`, id) diff --git a/lib/whitelist.ts b/lib/whitelist.ts index ca0431f5..53fd231f 100644 --- a/lib/whitelist.ts +++ b/lib/whitelist.ts @@ -11,6 +11,7 @@ export default [ "display", "email", "fiat", + "fresh", "followers", "follows", "haspin", |
