mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 20:42:02 +00:00
c910167ff6
* feat(users): Add in Users page and sidebar * feat(users): Fix grammar, add in Users action * feat(users): Add in more API info * feat(users): Continue work on table, pass data through to table, style skeleton * feat(users): Format Status column * feat(users): Style table * feat(users): Change data, update Users to User
11 lines
270 B
TypeScript
11 lines
270 B
TypeScript
import { NextResponse } from "next/server";
|
|
|
|
import data from "../../../dataUsers.json";
|
|
|
|
export async function GET() {
|
|
// Simulate fetching data with a delay
|
|
await new Promise((resolve) => setTimeout(resolve, 2000));
|
|
|
|
return NextResponse.json({ users: data });
|
|
}
|