feat: biome check
This commit is contained in:
@@ -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.");
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user