forked from Deuxfleurs/garage
payload.rs: Fixed typo in error message.
This commit is contained in:
parent
4bf66011a0
commit
8bbbd3d70c
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ fn parse_query_authorization(
|
||||||
|
|
||||||
if duration > 7 * 24 * 3600 {
|
if duration > 7 * 24 * 3600 {
|
||||||
return Err(Error::bad_request(
|
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(),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue