fix(identity-service): 添加 TotpService 到 ApplicationModule
This commit is contained in:
parent
fd5768f8c5
commit
e153e2144d
|
|
@ -17,6 +17,7 @@ import { TotpController } from '@/api/controllers/totp.controller';
|
|||
// Application Services
|
||||
import { UserApplicationService } from '@/application/services/user-application.service';
|
||||
import { TokenService } from '@/application/services/token.service';
|
||||
import { TotpService } from '@/application/services/totp.service';
|
||||
import { BlockchainWalletHandler } from '@/application/event-handlers/blockchain-wallet.handler';
|
||||
import { MpcKeygenCompletedHandler } from '@/application/event-handlers/mpc-keygen-completed.handler';
|
||||
|
||||
|
|
@ -105,11 +106,12 @@ export class DomainModule {}
|
|||
providers: [
|
||||
UserApplicationService,
|
||||
TokenService,
|
||||
TotpService,
|
||||
// Event Handlers - 通过注入到 UserApplicationService 来确保它们被初始化
|
||||
BlockchainWalletHandler,
|
||||
MpcKeygenCompletedHandler,
|
||||
],
|
||||
exports: [UserApplicationService, TokenService],
|
||||
exports: [UserApplicationService, TokenService, TotpService],
|
||||
})
|
||||
export class ApplicationModule {}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue