Skip to content
This repository was archived by the owner on Nov 21, 2020. It is now read-only.

Conversation

@khangaridb
Copy link
Contributor

No description provided.

const token = await Users.createUserWithConfirmation({ email });

const { MAIN_APP_DOMAIN } = process.env;
const invitationUrl = `${MAIN_APP_DOMAIN}/invitation?email=${email}&token=${token}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to invitation

const token = await Users.createUserWithConfirmation({ email });

const { MAIN_APP_DOMAIN } = process.env;
const invitationUrl = `${MAIN_APP_DOMAIN}/invitation?email=${email}&token=${token}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove email

avatar: params.avatar || faker.image.imageUrl(),
position: params.position || 'admin',
},
confirmationToken: params.confirmationToken || faker.random.word(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to registration token

emailSignatures?: IEmailSignature[];
starredConversationIds?: string[];
details?: IDetail;
status?: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove status

@batamar batamar merged commit dd0ac76 into develop Feb 2, 2019
@batamar batamar deleted the feature-user-invitation branch February 2, 2019 11:50
batamar pushed a commit that referenced this pull request May 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants