fix(server): use UserMetadataKey enum instead of string (#20209)

* fix(server): use UserMetadataKey enum instead of string

* fix: mobile
This commit is contained in:
Daimolean
2025-07-25 23:04:28 +08:00
committed by GitHub
parent ed5759fe07
commit 25e2d37490
11 changed files with 129 additions and 15 deletions

View File

@@ -732,6 +732,8 @@ class ApiClient {
return UserAvatarColorTypeTransformer().decode(value);
case 'UserLicense':
return UserLicense.fromJson(value);
case 'UserMetadataKey':
return UserMetadataKeyTypeTransformer().decode(value);
case 'UserPreferencesResponseDto':
return UserPreferencesResponseDto.fromJson(value);
case 'UserPreferencesUpdateDto':