Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelvlach committed Dec 20, 2023
1 parent 6d5cfba commit 6aded30
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions agdb_server/src/routes/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,6 @@ pub(crate) struct Queries(pub(crate) Vec<QueryType>);
#[derive(Serialize, ToSchema)]
pub(crate) struct QueriesResults(pub(crate) Vec<QueryResult>);

impl From<Database> for ServerDatabase {
fn from(value: Database) -> Self {
Self {
name: value.name,
db_type: value.db_type.as_str().into(),
}
}
}

impl From<&str> for DbType {
fn from(value: &str) -> Self {
match value {
Expand Down

0 comments on commit 6aded30

Please sign in to comment.