feat: auth login

This commit is contained in:
Maulana Sodiqin
2025-02-08 00:58:54 +07:00
parent c637a356eb
commit ffc72367d5
6 changed files with 44 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
use super::{mutation_login, AuthLoginRequestDto};
use axum::{response::Response, Json};
pub async fn post_login(Json(payload): Json<AuthLoginRequestDto>) -> Response {
mutation_login(payload).await
}