From ef4072e4ffb47a1c24fc6c0ac8144231fb1d5cfd Mon Sep 17 00:00:00 2001
From: Stefan Melmuk <509385+stefan0xC@users.noreply.github.com>
Date: Sun, 9 Oct 2022 05:50:43 +0200
Subject: [PATCH] improve spelling of minimum expiration hours check

Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
---
 src/config.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config.rs b/src/config.rs
index 1d9e53f5..3a2cf958 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -730,7 +730,7 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> {
     }
 
     if cfg.invitation_expiration_hours < 1 {
-        err!("`INVITATION_EXPIRATION_HOURS` has a minimum size of 1")
+        err!("`INVITATION_EXPIRATION_HOURS` has a minimum duration of 1 hour")
     }
 
     Ok(())
-- 
GitLab