Note about group referral query details
This commit is contained in:
parent
cf3add24f3
commit
a6c8a16295
|
@ -21,6 +21,8 @@ function copyContractWithReferral(contract: Contract, username?: string) {
|
||||||
`https://${ENV_CONFIG.domain}${contractPath(contract)}${postFix}`
|
`https://${ENV_CONFIG.domain}${contractPath(contract)}${postFix}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Note: if a user arrives at a /group endpoint with a ?referral= query, they'll be added to the group automatically
|
||||||
function copyGroupWithReferral(group: Group, username?: string) {
|
function copyGroupWithReferral(group: Group, username?: string) {
|
||||||
const postFix = username ? '?referrer=' + username : ''
|
const postFix = username ? '?referrer=' + username : ''
|
||||||
copyToClipboard(
|
copyToClipboard(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user