Skip to content

Commit

Permalink
Use hyphenated UUIDs in the message table "chids" column
Browse files Browse the repository at this point in the history
  • Loading branch information
AzureMarker committed Jul 20, 2020
1 parent 9e02178 commit 54255d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoendpoint/src/db/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl DbClient {
},
update_expression: Some("ADD chids :channel_id SET expiry = :expiry".to_string()),
expression_attribute_values: Some(hashmap! {
":channel_id".to_string() => val!(SS => Some(channel_id.to_simple())),
":channel_id".to_string() => val!(SS => Some(channel_id.to_hyphenated())),
":expiry".to_string() => val!(N => sec_since_epoch() + MAX_CHANNEL_TTL)
}),
..Default::default()
Expand Down

1 comment on commit 54255d1

@jrconlin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Lina, this should match what the client is generating and expecting.

Please sign in to comment.