Page MenuHomePhabricator

D11678.diff
No OneTemporary

D11678.diff

diff --git a/services/identity/src/database/one_time_keys.rs b/services/identity/src/database/one_time_keys.rs
--- a/services/identity/src/database/one_time_keys.rs
+++ b/services/identity/src/database/one_time_keys.rs
@@ -97,6 +97,8 @@
.table_name(otk_table::NAME)
.key(otk_table::PARTITION_KEY, AttributeValue::S(pk))
.key(otk_table::SORT_KEY, AttributeValue::S(sk))
+ .condition_expression("attribute_exists(#otk)")
+ .expression_attribute_names("#otk", otk_table::ATTR_ONE_TIME_KEY)
.build();
let delete_otk_operation =

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 29, 2:42 AM (21 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2595499
Default Alt Text
D11678.diff (584 B)

Event Timeline