pub async fn has_acknowledged_role_notification(
pool: &Pool<MySql>,
user_id: i64,
role_notification_id: i64,
) -> Result<bool>Expand description
Checks if a user has acknowledged a specific role notification.
§Arguments
pool- Database connection pool for executing the queryuser_id- ID of the user to checkrole_notification_id- ID of the role notification to check
§Returns
Ok(bool)- True if acknowledged, false otherwiseErr(anyhow::Error)- Failed to check acknowledgment status