(
web::Json(create_session_dto): web::Json<CreateSessionDTO>,
ctx: web::Data<AppContext>,
)
| 24 | tag = "auth" |
| 25 | )] |
| 26 | pub(crate) async fn create_session( |
| 27 | web::Json(create_session_dto): web::Json<CreateSessionDTO>, |
| 28 | ctx: web::Data<AppContext>, |
| 29 | ) -> Result<HttpResponse> { |
| 30 | let res = service::create_session(create_session_dto, ctx.into_inner()).await?; |
| 31 | Ok(HttpResponse::Ok().json(res)) |
| 32 | } |
nothing calls this directly
no outgoing calls
no test coverage detected