From 9ff7728654205041fc4dddc2b896b6bd8f6e6c88 Mon Sep 17 00:00:00 2001 From: alpaylan Date: Fri, 16 Apr 2021 01:55:44 +0300 Subject: change mocked db. --- src/schema.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/schema.rs b/src/schema.rs index b63b0c1..df7b14a 100644 --- a/src/schema.rs +++ b/src/schema.rs @@ -152,7 +152,7 @@ pub struct Db { } impl Db { - fn new() -> Self { + pub fn new() -> Self { let mut users: HashMap = HashMap::new(); let bank_acc = MetuId::new("bank".to_owned(), "P7oxDm30g1jeIId".to_owned()).unwrap(); -- cgit v1.2.3-70-g09d2