Skip to content

Commit

Permalink
improve spelling of minimum expiration hours check
Browse files Browse the repository at this point in the history
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
  • Loading branch information
stefan0xC and tessus authored Oct 9, 2022
1 parent b70316e commit ac120be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down

0 comments on commit ac120be

Please sign in to comment.