Skip to content

Commit ebdd7db

Browse files
authored
fix(v1): register binding email routes (#767)
1 parent 1b684e5 commit ebdd7db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/v1/controller/user/Router.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { ControllerClass } from "../../../abstract/controller";
22
import { Rename } from "./rename";
33
import { SendMessage } from "./binding/platform/phone/SendMessage";
4+
import { SendMessage as SendEmail } from "./binding/platform/email/SendMessage";
45
import { BindingPhone } from "./binding/platform/phone/Binding";
56
import { DeleteAccountValidate } from "./deleteAccount/Validate";
67
import { DeleteAccount } from "./deleteAccount";
@@ -14,6 +15,7 @@ import { RemoveBinding } from "./binding/Remove";
1415
import { BindingAgora } from "./binding/platform/agora/Binding";
1516
import { BindingGithub } from "./binding/platform/github/Binding";
1617
import { BindingGoogle } from "./binding/platform/google/Binding";
18+
import { BindingEmail } from "./binding/platform/email/Binding";
1719

1820
export const userRouters: Readonly<Array<ControllerClass<any, any>>> = Object.freeze([
1921
Rename,
@@ -24,6 +26,8 @@ export const userRouters: Readonly<Array<ControllerClass<any, any>>> = Object.fr
2426
BindingGithub,
2527
BindingAgora,
2628
BindingGoogle,
29+
BindingEmail,
30+
SendEmail,
2731
SetAuthUUID,
2832
BindingProcess,
2933
BindingList,

0 commit comments

Comments
 (0)