refactor: the user setting and change to be cateogry based
This commit is contained in:
@@ -7,8 +7,8 @@ export function smsConfigs() {
|
||||
return {
|
||||
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_PATTERN_INVOICE: configService.getOrThrow<string>("SMS_PATTERN_INVOICE"),
|
||||
};
|
||||
},
|
||||
};
|
||||
@@ -17,6 +17,6 @@ export function smsConfigs() {
|
||||
export interface ISmsConfigs {
|
||||
API_URL: string;
|
||||
API_KEY: string;
|
||||
// SECRET_KEY: string;
|
||||
SMS_PATTERN_OTP: string;
|
||||
SMS_PATTERN_INVOICE: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user