Skip to content

Commit acb4711

Browse files
committed
cargo +nightly fmt
1 parent c3422d9 commit acb4711

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
use axum::Json;
2+
3+
use super::err::HandlerError;
4+
5+
/// Placeholder route.
6+
pub(crate) async fn get_logs() -> Result<Json<Vec<()>>, HandlerError> {
7+
Ok(Json(vec![]))
8+
}

crates/devolutions-pedm/src/db/pg.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ use bb8::Pool;
1010
use bb8_postgres::PostgresConnectionManager;
1111
use chrono::{DateTime, Utc};
1212
use devolutions_pedm_shared::policy::ElevationResult;
13-
use tokio_postgres::{types::ToSql, NoTls};
13+
use futures_util::try_join;
14+
use tokio_postgres::types::ToSql;
15+
use tokio_postgres::NoTls;
1416

1517
use crate::account::{AccountWithId, AccountsDiff, DomainId, Sid};
1618

0 commit comments

Comments
 (0)