Skip to content

Commit 42eb608

Browse files
authored
remove authorization from recruitment (#393)
1 parent 506b62c commit 42eb608

File tree

2 files changed

+122
-108
lines changed

2 files changed

+122
-108
lines changed

app/(default)/api/registration/recruitment/route.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,7 @@ export async function POST(request: Request) {
262262
// if (!success) {
263263
// return NextResponse.json({ error: "Too Many Requests" }, { status: 429 });
264264
// }
265-
const { user, error } = await requireAuth(request);
266-
if (error) return error;
265+
267266

268267
const { searchParams } = new URL(request.url);
269268
const action = searchParams.get("action");

package-lock.json

Lines changed: 121 additions & 106 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)