feat(permohonan): hapus notifikasi saat membuat permohonan
- Menghapus kode yang mengirim notifikasi kepada pengguna setelah permohonan dibuat. - Memperbaiki alur penyimpanan data dengan mengurangi ketergantungan pada notifikasi.
This commit is contained in:
@@ -65,10 +65,6 @@ class PermohonanController extends Controller
|
|||||||
// Save to database
|
// Save to database
|
||||||
$permohonan = Permohonan::create($validate);
|
$permohonan = Permohonan::create($validate);
|
||||||
|
|
||||||
$user_ = User::find($permohonan->created_by);
|
|
||||||
$user_->notify(new PermohonanNotif($permohonan));
|
|
||||||
|
|
||||||
|
|
||||||
// Create history
|
// Create history
|
||||||
$this->historyService->createHistory(
|
$this->historyService->createHistory(
|
||||||
$permohonan,
|
$permohonan,
|
||||||
|
|||||||
Reference in New Issue
Block a user