Add type annotation to fix compilation error

This commit is contained in:
dal 2025-03-19 10:16:01 -06:00
parent d871818435
commit 5377a367dd
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ pub async fn list_shares_by_identity_type(
anyhow!("Database connection error: {}", e)
})?;
let results = if identity_type == IdentityType::User {
let results: Vec<AssetPermissionWithUser> = if identity_type == IdentityType::User {
// Query permissions with user information
let permissions_with_users: Vec<(AssetPermission, User)> = asset_permissions::table
.inner_join(users::table.on(asset_permissions::identity_id.eq(users::id)))