Skip to content

Commit

Permalink
Merge pull request #40 from meshhq/feature/fixing-android-url
Browse files Browse the repository at this point in the history
Updating
  • Loading branch information
kcoleman731 authored Jun 21, 2019
2 parents de92124 + 29d3026 commit 7d2c793
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/transform/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ exports.BuildEventContent = (event, club, link) => {
};
exports.BuildWelcomeContent = (user, club, inviteLink) => {
const iosAppURL = ts_optchain_1.oc(club).clubSettings.iosAppURL(constants.iOSAppURL);
const androidAppUDL = ts_optchain_1.oc(club).clubSettings.androidAppURL(constants.iOSAppURL);
const androidAppURL = ts_optchain_1.oc(club).clubSettings.androidAppURL(constants.AndroidAppURL);
const unsubscribeURL = `${club.domain}/tryclubhub.com/user/me`;
const welcomeContent = {
firstName: user.firstName,
inviteLink: inviteLink,
iosAppURL: iosAppURL,
androidAppURL: androidAppUDL,
androidAppURL: androidAppURL,
iosBadgeURL: constants.iOSBadgeURL,
androidBadgeURL: constants.AndroidBadgeURL,
clubhubSupportURL: constants.ClubHubSupportURL,
Expand Down
2 changes: 1 addition & 1 deletion src/transform/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const BuildEventContent = (event: core.Event.Model, club: core.Club.Model
*/
export const BuildWelcomeContent = (user: core.User.Model, club: core.Club.Model, inviteLink: string): WelcomeContent => {
const iosAppURL = oc(club).clubSettings.iosAppURL(constants.iOSAppURL)
const androidAppURL = oc(club).clubSettings.androidAppURL(constants.iOSAppURL)
const androidAppURL = oc(club).clubSettings.androidAppURL(constants.AndroidAppURL)
const unsubscribeURL = `${club.domain}/tryclubhub.com/user/me`
const welcomeContent: WelcomeContent = {
firstName: user.firstName,
Expand Down

0 comments on commit 7d2c793

Please sign in to comment.