diff --git a/lib/facts/links.js b/lib/facts/links.js --- a/lib/facts/links.js +++ b/lib/facts/links.js @@ -16,7 +16,7 @@ } /* Deep Link Utils */ -function parseInstallReferrerFromInviteLinkURL(referrer: string): ?string { +function parseInstallReferrerFromInviteLinkUrl(referrer: string): ?string { const referrerRegex = /utm_source=(invite\/(\S+))$/; const match = referrerRegex.exec(referrer); return match?.[1]; @@ -58,6 +58,6 @@ export { inviteLinkUrl, qrCodeLinkUrl, - parseInstallReferrerFromInviteLinkURL, + parseInstallReferrerFromInviteLinkUrl, parseDataFromDeepLink, }; diff --git a/native/navigation/deep-links-context-provider.react.js b/native/navigation/deep-links-context-provider.react.js --- a/native/navigation/deep-links-context-provider.react.js +++ b/native/navigation/deep-links-context-provider.react.js @@ -10,7 +10,7 @@ verifyInviteLinkActionTypes, } from 'lib/actions/link-actions.js'; import { - parseInstallReferrerFromInviteLinkURL, + parseInstallReferrerFromInviteLinkUrl, parseDataFromDeepLink, type ParsedDeepLinkData, } from 'lib/facts/links.js'; @@ -75,7 +75,7 @@ if (!installReferrer) { return; } - const linkSecret = parseInstallReferrerFromInviteLinkURL(installReferrer); + const linkSecret = parseInstallReferrerFromInviteLinkUrl(installReferrer); if (linkSecret) { setCurrentLink(linkSecret); }