Commit 42b080b8 authored by Olivia Madrid's avatar Olivia Madrid

(feat): Referrals console

1 merge request!236epic/referrals
Pipeline #71568279 running with stages
......@@ -93,6 +93,9 @@ class Referral
'prospect' => $this->prospect ? $this->prospect->export() : null,
'state' => $this->getState(),
'pingable' => $this->getPingable(),
'register_timestamp' => $this->registerTimestamp * 1000,
'join_timestamp' => $this->joinTimestamp * 1000,
'ping_timestamp' => $this->pingTimestamp * 1000
];
}
}
......@@ -169,7 +169,6 @@ class Join
// Validate referral and give both prospect and referrer +50 contribution score
if ($this->user->referrer && $this->user->guid != $this->user->referrer) {
$this->validator->setHash($hash);
if ($this->validator->validate()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment