From d7cd30aab93187d0078752f0e9076658dea03985 Mon Sep 17 00:00:00 2001 From: Anatolii Kurotych Date: Fri, 25 Oct 2024 12:58:24 +0300 Subject: [PATCH] Add comment --- mobile_config/src/gateway_info.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mobile_config/src/gateway_info.rs b/mobile_config/src/gateway_info.rs index bc4c70e88..d4b39046a 100644 --- a/mobile_config/src/gateway_info.rs +++ b/mobile_config/src/gateway_info.rs @@ -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::>(), )