Sort libraryEvents so watch history is in correct order
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit Details

This commit is contained in:
Timothy Warren 2021-07-30 09:37:06 -04:00
parent cd7082b764
commit c810b811a8
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
query ($slug: String!) {
findProfileBySlug(slug: $slug) {
libraryEvents(first: 100, kind: [PROGRESSED, UPDATED]) {
libraryEvents(first: 100, kind: [PROGRESSED, UPDATED], sort: [{
direction: DESCENDING,
on: UPDATED_AT,
}]) {
nodes {
id
changedData