Skip to content

Commit cda8925

Browse files
committed
cargo fmt
1 parent 3e7e465 commit cda8925

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/db/models/enrollment.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ impl Token {
176176
Some(_) => {
177177
debug!("Session has expired.");
178178
Err(TokenError::TokenUsed)
179-
},
179+
}
180180
// session not yet started
181181
None => {
182182
let now = Utc::now().naive_utc();

src/grpc/enrollment.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,9 @@ impl EnrollmentServer {
304304
.await?;
305305

306306
// send success notification to admin
307-
debug!("Trying fetch admin data from the token to send notification about activating user.");
307+
debug!(
308+
"Trying fetch admin data from the token to send notification about activating user."
309+
);
308310
let admin = enrollment.fetch_admin(&mut *transaction).await?;
309311

310312
if let Some(admin) = admin {

0 commit comments

Comments
 (0)