Skip to content

Commit

Permalink
Fixed: Role for new user.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewMaksimchuk committed Sep 16, 2023
1 parent d70336c commit a0c0bd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { createPassword } from "../../../../services/password/index.js";
export const createProperties = async (user: UserRegistration) => {
const id = randomUUID();
const password = createPassword(user.password);
const role = Role.guest;
const role = Role.client;
const token = await createAccessToken({
phone: user.phone,
name: user.name,
Expand Down

0 comments on commit a0c0bd8

Please sign in to comment.