feat: engagment notifications
This commit is contained in:
@@ -53,7 +53,6 @@ Route::prefix('legal-documents')->group(function (): void {
|
||||
Route::middleware(['auth:sanctum', 'verified', 'not_suspended'])->group(function (): void {
|
||||
Route::post('device-tokens', [DeviceTokenController::class, 'store'])->middleware('throttle:device-token');
|
||||
Route::delete('device-tokens', [DeviceTokenController::class, 'destroy'])->middleware('throttle:device-token');
|
||||
Route::get('test-notifs', [DeviceTokenController::class, 'notifs'])->middleware('throttle:notifications');
|
||||
});
|
||||
|
||||
// Workouts
|
||||
|
||||
@@ -25,3 +25,7 @@ Schedule::command('meal-posts:generate-ai')
|
||||
->daily()
|
||||
->withoutOverlapping(55)
|
||||
->onOneServer();
|
||||
Schedule::command('notifications:send-engagement-reminders')
|
||||
->dailyAt('12:30')
|
||||
->withoutOverlapping(30)
|
||||
->onOneServer();
|
||||
|
||||
Reference in New Issue
Block a user