Consistently name db connection connection

This commit is contained in:
2024-08-07 21:54:13 +02:00
parent 5a7516aed8
commit 1bb1c133e8
8 changed files with 85 additions and 67 deletions

View File

@@ -141,8 +141,8 @@ pub fn validate_ownership_by_user_prefix<'a>(
Ok(prefix)
}
pub async fn close_database_connection(conn: MySqlConnection) {
if let Err(e) = conn
pub async fn close_database_connection(connection: MySqlConnection) {
if let Err(e) = connection
.close()
.await
.context("Failed to close connection properly")