Verified Commit 469cd2e5 authored by Daniel Sonck's avatar Daniel Sonck
Browse files

Fix cursor in edges

parent 5bfd4c68
Pipeline #433 waiting for manual action with stages
in 4 minutes and 8 seconds
......@@ -30,7 +30,7 @@ func (r *queryResolver) Playlist(ctx context.Context, first int, after *model.Cu
for item = playlist.Start(); item != nil && count < first; item = item.Next() {
if count > start {
result = append(result, model.PlaylistEdge{
Cursor: model.MakeCursor("PlaylistItem:%d", count),
Cursor: model.MakeCursor("PlaylistItem", count),
Node: &model.PlayListItem{
Id: count,
CueTrack: (*model.CueTrack)(&item.Song),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment