Skip to content

Commit 0faf2a7

Browse files
Remove Uneeded comments
1 parent 7346321 commit 0faf2a7

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

app/api/users/[id]/route.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
// app/api/users/[id]/route.ts
21
import { NextRequest, NextResponse } from 'next/server';
32
import { prisma } from '@utils/prisma';
43

5-
// Helper function to validate ID
64
function validateId(id: string): number | null {
75
const parsedId = Number(id);
86
return Number.isNaN(parsedId) ? null : parsedId;

app/api/users/email/[email]/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// app/api/user/route.ts
21
import { NextRequest, NextResponse } from 'next/server';
32
import { Prisma } from '@prisma/client';
43
import { prisma } from '@utils/prisma';

0 commit comments

Comments
 (0)