feat: auth login
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user