Refactor environment module: Rename enviroment to environment and consolidate environment configuration management
- Updated all references from `enviroment` to `environment` across the codebase. - Removed the old `enviroment` module and replaced it with a new `environment` module that includes centralized configuration management. - Enhanced OTP generation to include secure hashing and expiration handling. - Improved CSRF token generation and validation with better error handling. - Cleaned up logging statements in various modules for clarity and consistency. - Updated response formatting to include versioning from Cargo.toml. - Removed unused mock test module from utils.
This commit is contained in:
@@ -17,7 +17,7 @@ mod tests {
|
||||
use imphnen_iam::v1::users::users_dto::{UsersDetailItemDto, UsersCreateRequestDto}; // Corrected: removed UserDto alias, used UsersCreateRequestDto
|
||||
use imphnen_entities::error_dto::ErrorResponse;
|
||||
use imphnen_libs::jsonwebtoken::generate_jwt;
|
||||
use imphnen_libs::enviroment::{ENV, Env}; // Import ENV and Env
|
||||
use imphnen_libs::environment::{ENV, Env}; // Import ENV and Env
|
||||
|
||||
mock! {
|
||||
pub GoogleOauthServiceMock {}
|
||||
|
||||
Reference in New Issue
Block a user