We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff9dfd2 commit d1ad9b3Copy full SHA for d1ad9b3
suncityla/app/api/auth/route.ts
@@ -26,6 +26,7 @@ export async function POST(req: Request){
26
});
27
28
// return the admin without the password
29
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
30
const {password: adminPassword,...adminWithoutPassword} = admin;
31
return NextResponse.json({admin: adminWithoutPassword,message: "Admin created successfully"},{status:201});
32
0 commit comments