Skip to content
Clone
d5939db
13 lines 337 B Rust
use super::{ResetPasswordCmd, ResetPasswordResp};
use super::usecase;
use crate::error::AuthError;
use crate::features::AuthService;
impl AuthService {
pub async fn reset_password(
&self,
cmd: ResetPasswordCmd,
) -> Result<ResetPasswordResp, AuthError> {
usecase::reset_password(cmd, self).await
}
}