Skip to content

Commit

Permalink
Add credentials skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 committed Jul 13, 2024
1 parent 62b32cc commit 5f33bd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion openubl/api/src/system/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::fmt::{Debug, Display, Formatter};
use std::sync::Arc;

use sea_orm::{ConnectionTrait, ConnectOptions, Database, DatabaseConnection, DbErr, Statement};
use sea_orm::{ConnectOptions, ConnectionTrait, Database, DatabaseConnection, DbErr, Statement};

use migration::{Migrator, MigratorTrait};

Expand Down
3 changes: 1 addition & 2 deletions openubl/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ use std::time::Duration;

use clap::Parser;
use postgresql_embedded::PostgreSQL;
use tokio::task::{LocalSet, spawn_local};

use tokio::task::{spawn_local, LocalSet};

#[allow(clippy::large_enum_variant)]
#[derive(clap::Subcommand, Debug)]
Expand Down
3 changes: 1 addition & 2 deletions openubl/server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use std::process::ExitCode;
use std::sync::Arc;

use actix_multipart::form::tempfile::TempFileConfig;
use actix_web::{App, HttpServer, web};
use actix_web::middleware::Logger;
use actix_web::{web, App, HttpServer};

use openubl_api::system::InnerSystem;
use openubl_common::config::Database;
Expand All @@ -29,7 +29,6 @@ pub struct ServerRun {

// #[command(flatten)]
// pub oidc: openubl_oidc::config::Oidc,

#[command(subcommand)]
pub storage: openubl_storage::config::Storage,
}
Expand Down

0 comments on commit 5f33bd3

Please sign in to comment.