From ac120be1c6f84028bc8ba476270c07f235e5b6ab 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 --- 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(())