This commit is contained in:
Mekan1206 committed 2026-05-01 16:53:04 +05:00
1 parent f772562376
commit 005b428cf1
12 files changed
+261 -2

No files matched your search

+7
View File
@@ -101,6 +101,13 @@
// Global orders...
Route::post('global-order', [GlobalOrderController::class, 'store']);
Route::middleware('auth:sanctum')->group(function () {
Route::get('/chat/contacts', [ChatController::class, 'contacts']);
Route::get('/chat/messages/{conversation}', [ChatController::class, 'messages']);
Route::post('/chat/start', [ChatController::class, 'start']);
Route::post('/chat/send', [ChatController::class, 'send']);
});
Route::middleware(['auth:sanctum', 'banned'])->group(function () {
// Profile...
Route::get('profile', [ProfileController::class, 'index']);