Dungeon: fix auth body and refresh test imports

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-12-02 18:07:20 +01:00
commit 7327afc0c2
2 changed files with 3 additions and 2 deletions

View file

@ -454,10 +454,10 @@ async fn auth_begin(State(state): State<AppState>, Json(body): Json<AuthBeginBod
struct AuthCompleteBody {
handle: String,
key: String,
}
/// The invite token the sign-in link carried, if any.
#[serde(default)]
invite: Option<String>,
}
async fn auth_complete(
State(state): State<AppState>,

View file

@ -138,7 +138,8 @@ async fn refresh_due_sessions(
#[cfg(test)]
mod refresh_loop_tests {
use super::*;
use crate::heimdall::{AuthCompletionReceipt, VerificationUnavailable, VerifiedSessionRefresh};
use crate::heimdall::{AuthCompletionReceipt, HeimdallClient, VerifiedSessionRefresh};
use anyhow::bail;
use std::{collections::VecDeque, sync::Mutex as StdMutex};
enum Reply {