refactor: split database into multiple files, more error handling, cleaner code
This commit is contained in:
parent
4b191a9311
commit
8f67c01efd
17 changed files with 1573 additions and 1630 deletions
|
@ -1,8 +1,6 @@
|
|||
use super::*;
|
||||
use rocket::{http::Status, local::Client};
|
||||
use ruma_client_api::error::ErrorKind;
|
||||
use rocket::local::Client;
|
||||
use serde_json::{json, Value};
|
||||
use std::time::Duration;
|
||||
|
||||
fn setup_client() -> Client {
|
||||
Database::try_remove("localhost");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue