feat: vertical slice — migrations, postgres adapters, presentation handlers, bootstrap wiring
This commit is contained in:
@@ -23,7 +23,10 @@ pub async fn create_album(
|
||||
creator_id: claims.user_id,
|
||||
};
|
||||
let album = state.create_album_handler.execute(cmd).await?;
|
||||
Ok((StatusCode::CREATED, Json(AlbumResponse::from_domain(&album))))
|
||||
Ok((
|
||||
StatusCode::CREATED,
|
||||
Json(AlbumResponse::from_domain(&album)),
|
||||
))
|
||||
}
|
||||
|
||||
pub async fn get_album(
|
||||
|
||||
Reference in New Issue
Block a user