mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 05:06:53 +00:00
style: Reformat
This commit is contained in:
1 parent
e001e4a68a
commit
7b180667e8
11 files changed
+33
-42
No files matched your search
@@ -81,8 +81,7 @@ 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!(
|
||||
"Profile data must not exceed {MAX_PROFILE_LENGTH_BYTES} bytes in \
|
||||
|
||||
Reference in new issue
Block a user