We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e7e465 commit cda8925Copy full SHA for cda8925
src/db/models/enrollment.rs
@@ -176,7 +176,7 @@ impl Token {
176
Some(_) => {
177
debug!("Session has expired.");
178
Err(TokenError::TokenUsed)
179
- },
+ }
180
// session not yet started
181
None => {
182
let now = Utc::now().naive_utc();
src/grpc/enrollment.rs
@@ -304,7 +304,9 @@ impl EnrollmentServer {
304
.await?;
305
306
// send success notification to admin
307
- debug!("Trying fetch admin data from the token to send notification about activating user.");
+ debug!(
308
+ "Trying fetch admin data from the token to send notification about activating user."
309
+ );
310
let admin = enrollment.fetch_admin(&mut *transaction).await?;
311
312
if let Some(admin) = admin {
0 commit comments