mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-06-27 16:35:59 +00:00
feat(devices): update the device last seen timestamp on usage
This commit is contained in:
parent
a1886a1396
commit
09e1713c30
11 changed files with 170 additions and 31 deletions
|
@ -2351,8 +2351,8 @@ pub async fn get_devices_route(
|
|||
.expect("version will not grow that large"),
|
||||
devices: services()
|
||||
.users
|
||||
.all_devices_metadata(&body.user_id)
|
||||
.filter_map(|r| r.ok())
|
||||
.all_user_devices_metadata(&body.user_id)
|
||||
.await
|
||||
.filter_map(|metadata| {
|
||||
Some(UserDevice {
|
||||
keys: services()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue