fix private channel

This commit is contained in:
2024-05-15 09:56:18 +07:00
parent 86034f6e5e
commit b8fdaf2ada
3 changed files with 87 additions and 7 deletions

View File

@@ -20,6 +20,7 @@ use Modules\Linksehat\Http\Middleware\Doctor\Authentication;
use Modules\Linksehat\Http\Middleware\Doctor\Authorization;
use Modules\Linksehat\Http\Controllers\Api\Doctor\AuthDoctorController;
use Modules\Linksehat\Http\Controllers\Api\Doctor\ProfileDoctorController;
use Modules\Linksehat\Http\Controllers\Api\Doctor\ChatDoctorController;
/*
|--------------------------------------------------------------------------
| API Routes
@@ -139,6 +140,9 @@ Route::prefix('linksehat')->group(function () {
Route::controller(ProfileDoctorController::class)->group(function () {
Route::get('get-profile', 'getProfile');
});
Route::controller(ChatDoctorController::class)->group(function () {
Route::get('chat', 'getChat');
});
});
});
Route::controller(AuthDoctorController::class)->group(function () {
@@ -147,6 +151,7 @@ Route::prefix('linksehat')->group(function () {
Route::post('resend-code', 'forgotPassword');
Route::post('reset-password', 'resetPassword');
});
});
});
;});