This commit is contained in:
2025-10-29 10:46:21 +01:00
parent 2de3dc30bf
commit ac27a9ab36
5 changed files with 111 additions and 14 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ struct TenantSelectionResponse {
#[derive(Deserialize)]
struct TenantSummary {
tenant_id: Uuid,
id: Uuid,
slug: String,
}
@@ -225,7 +225,7 @@ async fn login_returns_tenant_selection_when_multiple_memberships() -> Result<()
.tenants
.iter()
.find(|tenant| tenant.slug == secondary_slug)
.map(|t| t.tenant_id)
.map(|t| t.id)
.context("secondary tenant missing from selection")?;
let select_response = app