Next release #32

Merged
phoenix merged 18 commits from devel into main 2025-08-12 21:46:02 +00:00
3 changed files with 6 additions and 4 deletions
Showing only changes of commit c8b8d470dc - Show all commits

2
.gitignore vendored
View File

@@ -1,2 +1,4 @@
/target
.env
.env.local
.env.docker

View File

@@ -16,7 +16,7 @@ pub mod db {
pub async fn create_pool() -> Result<sqlx::PgPool, sqlx::Error> {
let database_url = icarus_envy::environment::get_db_url().await;
println!("Database url: {:?}", database_url);
println!("Database url: {database_url}");
PgPoolOptions::new()
.max_connections(connection_settings::MAXCONN)

View File

@@ -57,7 +57,7 @@ pub mod user {
.fetch_optional(pool)
.await
.map_err(|e| {
eprintln!("Error updating time: {}", e);
eprintln!("Error updating time: {e}");
e
});
@@ -113,7 +113,7 @@ pub mod user {
.fetch_one(pool)
.await
.map_err(|e| {
eprintln!("Error inserting item: {}", e);
eprintln!("Error inserting item: {e}");
e
})?;
@@ -180,7 +180,7 @@ pub mod salt {
.fetch_one(pool)
.await
.map_err(|e| {
eprintln!("Error inserting item: {}", e);
eprintln!("Error inserting item: {e}");
e
})?;