Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3346833
D9127.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
379 B
Referenced Files
None
Subscribers
None
D9127.diff
View Options
diff --git a/native/native_rust_library/src/lib.rs b/native/native_rust_library/src/lib.rs
--- a/native/native_rust_library/src/lib.rs
+++ b/native/native_rust_library/src/lib.rs
@@ -211,7 +211,9 @@
}
#[derive(Serialize)]
+#[serde(rename_all = "camelCase")]
struct UserIDAndDeviceAccessToken {
+ #[serde(rename = "userID")]
user_id: String,
access_token: String,
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 10:01 AM (18 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2570158
Default Alt Text
D9127.diff (379 B)
Attached To
Mode
D9127: [native] rename fields in JSON serialized string to camelCase from snake_case
Attached
Detach File
Event Timeline
Log In to Comment