We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f5907 commit ded5fceCopy full SHA for ded5fce
src/services/queries/users.ts
@@ -21,7 +21,7 @@ export const createUser = async (attrs: CreateUserAttrs) => {
21
await client.sAdd(usernamesUniqueKey(), attrs.username);
22
await client.zAdd(usernamesUniqueKey(), {
23
value: attrs.username,
24
- id,
+ score: parseInt(id, 16), // we converted a base 16 to a base 10 by implementing the parInt function
25
});
26
27
return id;
0 commit comments