From fa7f650562337c7f3a4fb7446e56575e26380494 Mon Sep 17 00:00:00 2001 From: WriterV2 Date: Sun, 3 Nov 2024 18:50:29 +0100 Subject: Feat: Finalize ability to get all products with details - Remove dummy product - Add ProductMarker method to get product id + implement - Move method to get all products out of PageBuilder into its own function in Product module - Finalize getting all products with details - Add empty implementation for Story for testing purposes (TODO: add card details) --- src/db/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/mod.rs') diff --git a/src/db/mod.rs b/src/db/mod.rs index 1d64ed8..0b310c6 100644 --- a/src/db/mod.rs +++ b/src/db/mod.rs @@ -14,7 +14,7 @@ pub mod tooltag; #[async_trait] pub trait ProductDatabaseHandler { - async fn get_all(pool: SqlitePool) -> Result, AppError> + async fn get_all(pool: &SqlitePool) -> Result, AppError> where Self: Sized; -- cgit v1.2.3