mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 21:47:02 +00:00
Clean up imports for database.
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
pub mod reference;
|
||||
pub mod user;
|
||||
|
||||
pub use reference::Ref;
|
||||
// pub use user::*;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use crate::database::entities::*;
|
||||
use crate::database::get_collection;
|
||||
use crate::database::*;
|
||||
use crate::util::result::{Error, Result};
|
||||
|
||||
use mongodb::bson::{doc, from_bson, Bson};
|
||||
use rocket::http::RawStr;
|
||||
use rocket::request::FromParam;
|
||||
|
||||
Reference in New Issue
Block a user