Fix and improvements to policies (#5923)

This commit is contained in:
Timshel authored and GitHub committed 2025-06-02 21:47:12 +02:00
1 parent 51a1d641c5
commit 0d3f283c37
4 files changed
+57 -48

No files matched your search

+1 -1
View File
@@ -211,7 +211,7 @@ impl OrgPolicy {
pub async fn find_accepted_and_confirmed_by_user_and_active_policy(
user_uuid: &UserId,
policy_type: OrgPolicyType,
conn: &mut DbConn,
conn: &DbConn,
) -> Vec<Self> {
db_run! { conn: {
org_policies::table