From 529d52534c300aec4a6e3e9e08f9762a401f7086 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Thu, 25 May 2023 11:16:16 +0200 Subject: added more progress --- src/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db.rs') diff --git a/src/db.rs b/src/db.rs index 8fd21b1..dde00ab 100644 --- a/src/db.rs +++ b/src/db.rs @@ -93,7 +93,7 @@ pub struct ModInfo { pub title: String, } -pub fn mods_get_info(config: Cfg, id: &str) -> MLE { +pub fn mods_get_info(config: &Cfg, id: &str) -> MLE { let data = format!("{}/data.db", config.data); let connection = Connection::open(data)?; -- cgit v1.2.3