fixed notification system and added a new tenant notifications receipt table to track read status and filter messages by scope.
This commit is contained in:
@@ -284,6 +284,9 @@ Route::prefix('v1')->name('api.v1.')->group(function () {
|
||||
Route::get('notifications/logs', [NotificationLogController::class, 'index'])
|
||||
->middleware('tenant.admin')
|
||||
->name('tenant.notifications.logs.index');
|
||||
Route::post('notifications/logs/mark', [NotificationLogController::class, 'mark'])
|
||||
->middleware('tenant.admin')
|
||||
->name('tenant.notifications.logs.mark');
|
||||
|
||||
Route::prefix('packages')->middleware('tenant.admin')->group(function () {
|
||||
Route::get('/', [PackageController::class, 'index'])->name('packages.index');
|
||||
|
||||
Reference in New Issue
Block a user