We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Illuminate\Support\Facades\Mail; |
9 | 9 | use DoeSangue\Models\Donor; |
10 | 10 | use DoeSangue\Models\Campaign; |
11 | -use DoeSangue\Models\User; |
|
12 | 11 | |
13 | 12 | class CampaignController extends Controller |
14 | 13 | { |
@@ -36,7 +36,7 @@ |
||
36 | 36 | $campaign->save(); |
37 | 37 | |
38 | 38 | // Send mail to users about the new campaign. |
39 | - // Mail::to($campaign->owner->email)->send(new CampaignPublished($campaign)); |
|
39 | + // Mail::to($campaign->owner->email)->send(new CampaignPublished($campaign)); |
|
40 | 40 | |
41 | 41 | return response()->json( |
42 | 42 | [ |
@@ -33,10 +33,10 @@ |
||
33 | 33 | return $this->markdown('email.campaigns.published') |
34 | 34 | ->with( |
35 | 35 | [ |
36 | - 'CampTitle' => $this->campaign->title, |
|
37 | - 'CampOwner' => $this->campaign->owner, |
|
38 | - 'CampCreated' => $this->campaign->created_at->format('d-m-Y'), |
|
39 | - 'CampExpiration' => $this->campaign->expires->format('d-m-Y') |
|
36 | + 'CampTitle' => $this->campaign->title, |
|
37 | + 'CampOwner' => $this->campaign->owner, |
|
38 | + 'CampCreated' => $this->campaign->created_at->format('d-m-Y'), |
|
39 | + 'CampExpiration' => $this->campaign->expires->format('d-m-Y') |
|
40 | 40 | ] |
41 | 41 | ); |
42 | 42 | } |