mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
Replace to_string into_boxed_str with into
This commit is contained in:
1 parent
59cbf202e4
commit
029c60be78
2 files changed
+5
-5
No files matched your search
@@ -182,7 +182,7 @@ impl Users {
|
||||
self.userdeviceid_metadata.insert(
|
||||
userdeviceid,
|
||||
serde_json::to_string(&Device {
|
||||
device_id: device_id.to_string().into_boxed_str(),
|
||||
device_id: device_id.into(),
|
||||
display_name: initial_device_display_name,
|
||||
last_seen_ip: None, // TODO
|
||||
last_seen_ts: Some(SystemTime::now()),
|
||||
|
||||
Reference in new issue
Block a user