Skip to content

Commit a4a7903

Browse files
committed
docs(user): clarify UTM parameter description in user creation and sign-up methods
1 parent ece94f6 commit a4a7903

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/models/usersFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default class UsersFactory extends AbstractModelFactory<UserDBScheme, Use
6262
* Creates new user in DB and returns it
6363
* @param email - user email
6464
* @param password - user password
65-
* @param utm - UTM parameters
65+
* @param utm - Data form where user went to sign up. Used for analytics purposes
6666
*/
6767
public async create(email: string, password?: string, utm?: any): Promise<UserModel> {
6868
const generatedPassword = password || (await UserModel.generatePassword());

src/resolvers/user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default {
3737
* Register user with provided email
3838
* @param _obj - parent object (undefined for this resolver)
3939
* @param email - user email
40-
* @param utm - UTM parameters
40+
* @param utm - Data form where user went to sign up. Used for analytics purposes
4141
* @param factories - factories for working with models
4242
*/
4343
async signUp(

0 commit comments

Comments
 (0)