From daeb5311840680599a0ce6e49d181b9289010f68 Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Wed, 1 Apr 2026 09:05:33 +0200 Subject: feat(schema): cursor pagination --- lib/warden-core/src/config/cli/database.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/warden-core/src/config') diff --git a/lib/warden-core/src/config/cli/database.rs b/lib/warden-core/src/config/cli/database.rs index 31ba930..70bf600 100644 --- a/lib/warden-core/src/config/cli/database.rs +++ b/lib/warden-core/src/config/cli/database.rs @@ -117,7 +117,7 @@ impl Database { } let host = "localhost".to_owned(); - let host = self.database_host.as_ref().unwrap_or_else(|| &host); + let host = self.database_host.as_ref().unwrap_or(&host); let mut url = Url::parse(&format!("postgres://{host}"))?; if let Some(ref u) = self.database_username { -- cgit v1.2.3