Begin improve model to use better CRDTs

This commit is contained in:
Alex Auvolat
2020-11-20 21:15:24 +01:00
parent 5dc304ac41
commit e02e9e035e
5 changed files with 245 additions and 96 deletions
+1 -1
View File
@@ -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