forked from jmug/stoatchat
Clean up imports for database.
This commit is contained in:
@@ -2,9 +2,8 @@ use rauth::auth::Session;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use snafu::Snafu;
|
||||
|
||||
use crate::database::entities::{RelationshipStatus, User};
|
||||
|
||||
use super::hive::get_hive;
|
||||
use crate::database::*;
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Snafu)]
|
||||
#[serde(tag = "error")]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use super::{events::ClientboundNotification, websocket};
|
||||
use crate::database::get_collection;
|
||||
use crate::database::*;
|
||||
|
||||
use futures::FutureExt;
|
||||
use hive_pubsub::backend::mongo::MongodbPubSub;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use crate::database::entities::User;
|
||||
use crate::database::*;
|
||||
|
||||
use super::hive::get_hive;
|
||||
use hive_pubsub::PubSub;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
use crate::database::get_collection;
|
||||
use crate::database::guards::reference::Ref;
|
||||
use crate::database::*;
|
||||
use crate::util::variables::WS_HOST;
|
||||
|
||||
use super::subscriptions;
|
||||
|
||||
Reference in New Issue
Block a user