aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-11-20 21:15:24 +0100
committerAlex Auvolat <alex@adnab.me>2020-11-20 23:53:54 +0100
commite02e9e035e269cd6b660c92706db424a2edb5306 (patch)
treecee743c465538614a4e31f86f56df4858bde2f54 /src/api
parent5dc304ac41c2ae0699fbdd56117b60c517a1ad39 (diff)
downloadgarage-e02e9e035e269cd6b660c92706db424a2edb5306.tar.gz
garage-e02e9e035e269cd6b660c92706db424a2edb5306.zip
Begin improve model to use better CRDTs
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