revision on register fix typo

pull/1/head
Aji Kamaludin 3 years ago
parent 4ebc99d5ee
commit e0dd2ca522
No known key found for this signature in database
GPG Key ID: 670E1F26AD5A8099

@ -35,7 +35,7 @@ class RegistrationService {
};
const createUserQuery = {
text: 'INSERT INTO users(id, name, email, password, role, company_id) VALUES ((select uuid_generate_v4()), $1, $2, $3, $4)',
text: 'INSERT INTO users(id, name, email, password, role, company_id) VALUES ((select uuid_generate_v4()), $1, $2, $3, $4, $5)',
values: [name, email, hashedPassword, 'admin', companyId],
};

Loading…
Cancel
Save