Skip to content

Commit

Permalink
Fixing build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sagojez committed Apr 14, 2024
1 parent 4f78745 commit 90efd81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use dotenvy::dotenv;
use oauth_api::prelude::{
get_subscriber, init_subscriber, Application, Config, OAuthConfig, ServerConfig,
};
use oauth_api::{prelude::{
get_subscriber, init_subscriber, Config, OAuthConfig, ServerConfig,
}, Application};

#[actix_web::main]
async fn main() -> anyhow::Result<()> {
Expand Down
3 changes: 1 addition & 2 deletions src/service/configuration/telemetry.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use crate::PREFIX;
use actix_web::body::MessageBody;
use actix_web::dev::{ServiceRequest, ServiceResponse};
use tracing::subscriber::set_global_default;
Expand All @@ -9,8 +10,6 @@ use tracing_log::LogTracer;
use tracing_subscriber::fmt::MakeWriter;
use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry};

use crate::prelude::PREFIX;

pub struct Telemetry<T>
where
T: SubscriberExt + Send + Sync + 'static,
Expand Down

0 comments on commit 90efd81

Please sign in to comment.