diff --git a/.gitignore b/.gitignore index c86a1fd..2d881da 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json +\n# build artifacts\nseed\nprisma/seed-linux-x64 diff --git a/prisma/seed.ts b/prisma/seed.ts index 4deac9c..64e8527 100644 --- a/prisma/seed.ts +++ b/prisma/seed.ts @@ -2,9 +2,9 @@ import { prisma } from "@/server/lib/prisma"; const user = [ { - name: "Bip", - email: "bip@bip.com", - password: "bip", + name: "wibu", + email: "wibu@bip.com", + password: "Production_123", } ]; diff --git a/src/index.tsx b/src/index.tsx index 74e4ce9..32a6429 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2,7 +2,7 @@ import Elysia, { t } from "elysia"; import Swagger from "@elysiajs/swagger"; import html from "./index.html"; import Dashboard from "./server/routes/darmasaba"; -import apiAuth from "./server/middlewares/apiAuth"; +import {apiAuth} from "./server/middlewares/apiAuth"; import Auth from "./server/routes/auth_route"; import ApiKeyRoute from "./server/routes/apikey_route"; import type { User } from "generated/prisma"; diff --git a/src/pages/Login.tsx b/src/pages/Login.tsx index 169d077..8f95e7e 100644 --- a/src/pages/Login.tsx +++ b/src/pages/Login.tsx @@ -2,6 +2,7 @@ import { Button, Container, Group, + PasswordInput, Stack, Text, TextInput, @@ -68,7 +69,7 @@ export default function Login() { value={email} onChange={(e) => setEmail(e.target.value)} /> - setPassword(e.target.value)} diff --git a/src/pages/sq/dashboard/webhook/webhook_create.tsx b/src/pages/sq/dashboard/webhook/webhook_create.tsx index 068df52..833cbc3 100644 --- a/src/pages/sq/dashboard/webhook/webhook_create.tsx +++ b/src/pages/sq/dashboard/webhook/webhook_create.tsx @@ -116,7 +116,7 @@ export default function WebhookCreate() { - + {/* Headers (JSON) @@ -204,9 +204,9 @@ export default function WebhookCreate() { automaticLayout: true, }} /> - + */} - + {/* Payload @@ -226,7 +226,7 @@ export default function WebhookCreate() { automaticLayout: true, }} /> - + */} - setReplay(e.currentTarget.checked)} @@ -245,16 +245,16 @@ export default function WebhookCreate() { styles={{ label: { color: "#EAEAEA" }, }} - /> - */} + {/* setReplayKey(e.target.value)} - /> + /> */} - - + */}