Skip to content

Illegal arguments: number #19

@strang3-r

Description

@strang3-r

user = new User({
name,
email,
avatar,
password
});

	// Encrypt password

	const salt = await bcrypt.getSalt(10);

	user.password = await bcrypt.hash(password, salt);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions