Skip to content

Commit 5b93d49

Browse files
authored
fix: update deadline (#6)
1 parent dbfc553 commit 5b93d49

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/api/config/deadline/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { NextRequest, NextResponse } from "next/server";
33
export const dynamic = 'force-dynamic';
44

55
// Submission deadline: Extended
6-
const SUBMISSION_DEADLINE = new Date('2026-01-21T10:00:00+05:30');
6+
const SUBMISSION_DEADLINE = new Date('2026-06-19T10:00:00+05:30');
77
const RSVP_DEADLINE = new Date('2026-01-24T23:59:00+05:30');
88

99
/**

app/api/team/submit-application/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export async function POST(request: NextRequest) {
2525
}
2626

2727
// Check if submission deadline has passed (Extended)
28-
const SUBMISSION_DEADLINE = new Date('2026-01-21T10:00:00+05:30');
28+
const SUBMISSION_DEADLINE = new Date('2026-06-19T10:00:00+05:30');
2929
if (new Date() > SUBMISSION_DEADLINE) {
3030
return NextResponse.json(
3131
{ message: "Submissions are closed. No new submissions are being accepted." },

app/api/team/update-submission/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export async function PUT(request: NextRequest) {
9090
);
9191
}
9292

93-
const SUBMISSION_DEADLINE = new Date('2026-01-21T10:00:00+05:30');
93+
const SUBMISSION_DEADLINE = new Date('2026-06-19T10:00:00+05:30');
9494

9595
if (new Date() > SUBMISSION_DEADLINE) {
9696
return NextResponse.json(

app/api/team/upload-submission/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export async function POST(request: NextRequest) {
101101
}
102102

103103
// Check if submission deadline has passed (Extended)
104-
const SUBMISSION_DEADLINE = new Date('2026-01-21T10:00:00+05:30');
104+
const SUBMISSION_DEADLINE = new Date('2026-06-19T10:00:00+05:30');
105105
if (new Date() > SUBMISSION_DEADLINE) {
106106
return NextResponse.json(
107107
{ message: "Submissions are closed. No new submissions are being accepted." },

app/api/user/register/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function uploadBase64ToCloudinary(base64Data: string, folder: string, reso
5757

5858
export async function POST(request: Request) {
5959
try {
60-
const REGISTRATION_DEADLINE = new Date('2026-01-20T10:00:00+05:30');
60+
const REGISTRATION_DEADLINE = new Date('2026-06-19T10:00:00+05:30');
6161
if (new Date() > REGISTRATION_DEADLINE) {
6262
return NextResponse.json(
6363
{

0 commit comments

Comments
 (0)