Template
1
0

feat: refactor account

This commit is contained in:
2025-08-12 05:24:20 +02:00
parent 1215a98afc
commit f0630d43b7
25 changed files with 256 additions and 332 deletions

View File

@@ -12,9 +12,7 @@ export class SessionController extends Controller<{
const response = await api.auth.authenticate({
body: {
type: "email",
payload: {
email: "john.doe@fixture.none",
},
email: "john.doe@fixture.none",
},
});
if ("error" in response) {

View File

@@ -9,6 +9,7 @@ export const api = makeClient(
}),
},
{
account: (await import("@spec/modules/account/mod.ts")).routes,
auth: (await import("@spec/modules/auth/mod.ts")).routes,
},
);