Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kurotych committed Oct 25, 2024
1 parent b53ad2d commit d7cd30a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mobile_config/src/gateway_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ pub(crate) mod db {
.bind(
device_types
.iter()
// The device_types field has a jsonb type but is being used as a string,
// which forces us adding of the quotes.
.map(|v| format!("\"{}\"", v))
.collect::<Vec<_>>(),
)
Expand Down

0 comments on commit d7cd30a

Please sign in to comment.