payload.rs: Fixed typo in error message.

This commit is contained in:
Jonathan Davies 2023-06-06 16:25:29 +01:00
parent 44548a9114
commit 180992d0f1

View file

@ -185,7 +185,7 @@ fn parse_query_authorization(
if duration > 7 * 24 * 3600 {
return Err(Error::bad_request(
"X-Amz-Exprires may not exceed a week".to_string(),
"X-Amz-Expires may not exceed a week".to_string(),
));
}