feat: engagment notifications

This commit is contained in:
2026-05-26 11:55:39 +02:00
parent df94a23a19
commit f716a205ce
13 changed files with 65 additions and 24 deletions
-1
View File
@@ -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
+4
View File
@@ -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();