diff options
| author | alpaylan | 2021-04-16 01:55:44 +0300 |
|---|---|---|
| committer | alpaylan | 2021-04-16 01:55:44 +0300 |
| commit | 9ff7728654205041fc4dddc2b896b6bd8f6e6c88 (patch) | |
| tree | 446545e317c0be23fd775c2945dae451bc5c2b82 /src | |
| parent | ed77ad769becf1db1407eeca710ac393abc07ffa (diff) | |
| download | gradecoin-9ff7728654205041fc4dddc2b896b6bd8f6e6c88.tar.gz gradecoin-9ff7728654205041fc4dddc2b896b6bd8f6e6c88.tar.bz2 gradecoin-9ff7728654205041fc4dddc2b896b6bd8f6e6c88.zip | |
change mocked db.
Diffstat (limited to 'src')
| -rw-r--r-- | src/schema.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
| 152 | } | 152 | } |
| 153 | 153 | ||
| 154 | impl Db { | 154 | impl Db { |
| 155 | fn new() -> Self { | 155 | pub fn new() -> Self { |
| 156 | let mut users: HashMap<Fingerprint, User> = HashMap::new(); | 156 | let mut users: HashMap<Fingerprint, User> = HashMap::new(); |
| 157 | 157 | ||
| 158 | let bank_acc = MetuId::new("bank".to_owned(), "P7oxDm30g1jeIId".to_owned()).unwrap(); | 158 | let bank_acc = MetuId::new("bank".to_owned(), "P7oxDm30g1jeIId".to_owned()).unwrap(); |
