fix: Address review comments

This commit is contained in:
timedout authored and Jade Ellis committed 2026-11-27 18:12:56 +00:00
1 parent 3896630859
commit 61f142a541
11 files changed
+61 -42

No files matched your search

+2 -1
View File
@@ -77,7 +77,8 @@ impl super::Service {
if let Ok(canonical_profile) = to_canonical_object(full_profile) {
if serde_json::to_string(&canonical_profile)
.expect("should be able to serialize to string")
.len() > MAX_PROFILE_LENGTH_BYTES
.len()
> MAX_PROFILE_LENGTH_BYTES
{
return Err!(Request(ProfileTooLarge(
"Profile data must not exceed {MAX_PROFILE_LENGTH_BYTES} bytes in \