aboutsummaryrefslogtreecommitdiff
path: root/src/api/signature
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2023-06-06 16:25:29 +0100
committerJonathan Davies <jpds@protonmail.com>2023-06-06 16:25:29 +0100
commit180992d0f1b8d5731b0bf8844129f5686541bc86 (patch)
tree3b56f0c7f8ae9e95a04deed45377341078a12840 /src/api/signature
parent44548a9114766b1b58887a1888472ad95847b4f6 (diff)
downloadgarage-180992d0f1b8d5731b0bf8844129f5686541bc86.tar.gz
garage-180992d0f1b8d5731b0bf8844129f5686541bc86.zip
payload.rs: Fixed typo in error message.
Diffstat (limited to 'src/api/signature')
-rw-r--r--src/api/signature/payload.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/signature/payload.rs b/src/api/signature/payload.rs
index c945ab11..1e3fa207 100644
--- a/src/api/signature/payload.rs
+++ b/src/api/signature/payload.rs
@@ -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(),
));
}