chore: add register of user
This commit is contained in:
@@ -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"),
|
||||
// },
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user