"feat: implement AccessLog and AppLog APIs with CRUD operations and test cases"

This commit is contained in:
louiscklaw
2025-06-03 15:27:56 +08:00
parent fc6ed533e2
commit 5480b62131
13 changed files with 402 additions and 15 deletions

View File

@@ -24,10 +24,7 @@ export async function POST(req: NextRequest) {
const userExists = _users.find((user) => user.email === email);
if (userExists) {
return response(
{ message: 'There already exists an account with the given email address.' },
STATUS.CONFLICT
);
return response({ message: 'There already exists an account with the given email address.' }, STATUS.CONFLICT);
}
const newUser = {