improve spelling of minimum expiration hours check

Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
This commit is contained in:
Stefan MelmukandHelmut K. C. Tessarek authored and Daniel García committed 2022-10-09 16:21:13 +02:00
1 parent c78d383ed1
commit ef4072e4ff
1 file changed
+1 -1
+1 -1
View File
@@ -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(())