chore: add register of user

This commit is contained in:
mahyargdz
2025-01-20 12:50:04 +03:30
parent 53a3d46ef5
commit 7431dad85f
16 changed files with 224 additions and 51 deletions
+7 -7
View File
@@ -5,14 +5,14 @@ export function SmsConfigs() {
inject: [ConfigService],
useFactory(configService: ConfigService) {
return {
URL: configService.getOrThrow<string>("URL"),
API_KEY: configService.getOrThrow<string>("API_KEY"),
SECRET_KEY: configService.getOrThrow<string>("SECRET_KEY"),
API_URL: configService.getOrThrow<string>("SMS_API_URL"),
API_KEY: configService.getOrThrow<string>("SMS_API_KEY"),
SECRET_KEY: configService.getOrThrow<string>("SMS_SECRET"),
SMS_PATTERN_OTP: configService.getOrThrow<string>("SMS_PATTERN_OTP"),
SMS_SECRET_BODY: {
UserApiKey: configService.getOrThrow<string>("API_KEY"),
SecretKey: configService.getOrThrow<string>("SECRET_KEY"),
},
// SMS_SECRET_BODY: {
// UserApiKey: configService.getOrThrow<string>("SMS_API_KEY"),
// SecretKey: configService.getOrThrow<string>("SECRET_KEY"),
// },
};
},
};