push notification removed employer verify email

This commit is contained in:
mohanmd 2026-07-08 08:43:31 +05:30
parent 636d3009a4
commit 166e7393c6

View File

@ -411,14 +411,6 @@ public function verify(Request $request)
$user->update(['fcm_token' => $fcmToken]); $user->update(['fcm_token' => $fcmToken]);
} }
$tokenToSend = $fcmToken ?? ($sponsor ? $sponsor->fcm_token : null) ?? ($user ? $user->fcm_token : null);
if ($tokenToSend) {
\App\Services\FCMService::sendPushNotification(
$tokenToSend,
'Email Verified',
'Proceed to payment selection.'
);
}
// Clear Cache // Clear Cache
\Illuminate\Support\Facades\Cache::forget('employer_otp_' . $request->email); \Illuminate\Support\Facades\Cache::forget('employer_otp_' . $request->email);