Skip to content

Commit

Permalink
Added mail endpoint when new tickets are processed
Browse files Browse the repository at this point in the history
Signed-off-by: WillTheDeveloper <willthedeveloper13@gmail.com>
  • Loading branch information
WillTheDeveloper committed Oct 9, 2022
1 parent 5d5a2f9 commit 53dab06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Http/Controllers/Ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

namespace App\Http\Controllers;

use App\Mail\TicketCreated;
use App\Models\Subject;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Mail;

class Ticket extends Controller
{
Expand Down Expand Up @@ -50,6 +52,8 @@ public function create()
public function new(Request $request)
{


// Mail::send(new TicketCreated(), )
}

public function viewticket($id)
Expand Down

0 comments on commit 53dab06

Please sign in to comment.