feat: refactor account
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user