From a0b0ff9d5c98a10f47ed8012ff6875048a4a1fe4 Mon Sep 17 00:00:00 2001 From: Ginger Date: Sun, 14 Sep 2025 21:30:20 -0400 Subject: [PATCH] fix: Remove legacy check for `u.` prefix --- src/api/client/unstable.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/api/client/unstable.rs b/src/api/client/unstable.rs index ab967bed..be10c13c 100644 --- a/src/api/client/unstable.rs +++ b/src/api/client/unstable.rs @@ -90,14 +90,6 @@ pub(crate) async fn set_profile_key_route( ))); }; - if body - .kv_pair - .keys() - .any(|key| key.starts_with("u.") && !profile_key_value.is_string()) - { - return Err!(Request(BadJson("u.* profile key fields must be strings"))); - } - if body.kv_pair.keys().any(|key| key.len() > 128) { return Err!(Request(BadJson("Key names cannot be longer than 128 bytes"))); }