Template
1
0

feat: biome check

This commit is contained in:
2025-09-25 14:29:15 +02:00
parent f2ba21a7e3
commit 0819534901
68 changed files with 211 additions and 802 deletions

View File

@@ -1,6 +1,6 @@
import route from "./spec.ts";
export default route.access("session").handle(async ({ params: { id } }, { session, principal, access }) => {
export default route.access("session").handle(async () => {
// const user = await getUserById(id);
// if (user === undefined) {
// return new NotFoundError("Identity does not exist, or has been removed.");

View File

@@ -1,6 +1,6 @@
import route from "./spec.ts";
export default route.access("public").handle(async ({ body: { email } }) => {
export default route.access("public").handle(async () => {
// const code = await Passwordless.createCode({ tenantId: "public", email });
// if (code.status !== "OK") {
// return logger.info({

View File

@@ -1,5 +1,4 @@
import { ForbiddenError } from "@platform/relay";
import { NotFoundError } from "@platform/relay";
import { ForbiddenError, NotFoundError } from "@platform/relay";
import { getPrincipalById, setPrincipalRolesById } from "../../services/database.ts";
import route from "./spec.ts";