Setup delegation credential related crons (#21176)

Co-authored-by: Tushar Bhatt <[email protected]>
This commit is contained in:
Hariom BalharaandTushar Bhatt authored and GitHub committed 2025-05-09 07:59:31 +00:00
1 parent 0b3f9d06a9
commit cecfcc7c6f
3 files changed
+18

No files matched your search

@@ -1,3 +1,8 @@
/**
* @description This route is used to create and delete Credential records for all members of an organization that has delegation credentials enabled.
*
* It also deletes Credential records for all members of an organization that has delegation credentials disabled.
*/
import type { NextRequest } from "next/server";
import { NextResponse } from "next/server";
@@ -1,3 +1,8 @@
/**
* @description This route is used to create SelectedCalendar records based on Credential records corresponding to Delegation Credentials
*
* It works in conjunction with `/api/cron/credentials` route(which creates the Credential records for all the members of an organization that has delegation credentials enabled)
*/
import type { NextRequest } from "next/server";
import { NextResponse } from "next/server";