aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-11-21 18:01:50 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-11-21 18:01:50 +0100
commit28efe341cbb4d96b5f81f5fe756f1a0995461e77 (patch)
tree27664b3c8519df6cea381218d3542f19e0c04126 /src/api
parentb7a377308bbcbb7285a5b11cdcb07361eff93a28 (diff)
parentb3814b15ccc233d7c4233b43816cce20db278f17 (diff)
downloadgarage-28efe341cbb4d96b5f81f5fe756f1a0995461e77.tar.gz
garage-28efe341cbb4d96b5f81f5fe756f1a0995461e77.zip
Merge branch 'master' into feature/website
Diffstat (limited to 'src/api')
-rw-r--r--src/api/signature.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/signature.rs b/src/api/signature.rs
index 402b1881..0ee47961 100644
--- a/src/api/signature.rs
+++ b/src/api/signature.rs
@@ -68,7 +68,7 @@ pub async fn check_signature(
.key_table
.get(&EmptyKey, &authorization.key_id)
.await?
- .filter(|k| !k.deleted)
+ .filter(|k| !k.deleted.get())
.ok_or(Error::Forbidden(format!(
"No such key: {}",
authorization.key_id