Files
kita-planer/src/app/dashboard/actions.ts
T

11 lines
312 B
TypeScript

"use server";
import { alarmAction } from "./notdienst/alarm/actions";
// Existing callers use the shared household workflow and the same guards.
export async function triggerAlertAction(assignmentId: string) {
return alarmAction("create", {
assignmentId,
wholeDay: true,
replyMinutes: 30,
});
}