Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33182413
D9127.1768532524.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
379 B
Referenced Files
None
Subscribers
None
D9127.1768532524.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
Fri, Jan 16, 3:02 AM (14 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5941523
Default Alt Text
D9127.1768532524.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