Skip to content

Commit

Permalink
patch: Remove id from device on spotify recent
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinrouillard committed May 24, 2024
1 parent 0a98036 commit c702fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/spotify/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async fn recent_listens(
.find_many(vec![])
.order_by(spotify_history::listened_at::order(Direction::Desc))
.take(query.limit.unwrap_or(10))
.include(spotify_history::include!({ spotify_devices: select { id name r#type } }))
.include(spotify_history::include!({ spotify_devices: select { name r#type } }))
.exec()
.await;

Expand Down

0 comments on commit c702fc9

Please sign in to comment.