Skip to content

Commit

Permalink
Use .key() instead of special condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Jul 31, 2023
1 parent 05b1621 commit c8076bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attribution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ pub async fn get_site_attribution(
.query()
.table_name(TABLE)
.limit(1000)
.key("site_slug = :site_slug")
.set_exclusive_start_key(exclusive_start_key)
.key_condition_expression("site_slug = :site_slug")
.expression_attribute_values("site_slug", AttributeValue::S(str!(site_slug)))
.send()
.await?;
Expand Down

0 comments on commit c8076bb

Please sign in to comment.