Skip to content

Commit

Permalink
feat: change id format to ulid
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Jul 7, 2024
1 parent ed453b2 commit 25d8f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/domain/user/model/userMethod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const userMethod = {

return {
...genCredentials({ poolId: val.userPoolId, username: val.name, password: val.password }),
id: brandedId.user.entity.parse(val.name),
id: brandedId.user.entity.parse(ulid()),
email: val.email,
name: val.name,
password: val.password,
Expand Down

0 comments on commit 25d8f7a

Please sign in to comment.