use raw database functions, not helper functions, for admin query command
the helper functions may do ad-hoc data manipulation Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
e4a6a2325b
commit
b93215d7f2
2 changed files with 7 additions and 6 deletions
|
@ -26,12 +26,11 @@ use serde_json::value::to_raw_value;
|
|||
use tokio::sync::Mutex;
|
||||
use tracing::{error, warn};
|
||||
|
||||
use self::query::QueryCommand;
|
||||
use super::pdu::PduBuilder;
|
||||
use crate::{
|
||||
service::admin::{
|
||||
appservice::AppserviceCommand, debug::DebugCommand, federation::FederationCommand, media::MediaCommand,
|
||||
room::RoomCommand, server::ServerCommand, user::UserCommand,
|
||||
query::QueryCommand, room::RoomCommand, server::ServerCommand, user::UserCommand,
|
||||
},
|
||||
services, Error, Result,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue