Refactor: registerUser -> createUser

This commit is contained in:
2024-05-16 12:26:27 +03:00
parent 62edbd9cd2
commit a34ed38800
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ export async function getUser(user_id) {
* @param {string} password
* @returns {Promise<import('$types/status').Success | import('$types/status').Error>}
*/
export async function registerUser(username, password) {
export async function createUser(username, password) {
const hashedPassword = await hash(password, {
type: argon2id,
memoryCost: 2 ** 16,