0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2024-12-22 13:13:00 -05:00

Fix cursor

This commit is contained in:
dragongoose 2023-07-29 20:57:23 -04:00
parent 05f86dfd6b
commit ed138fbe3e
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5

View file

@ -111,7 +111,7 @@ func ParseCategory(data gjson.Result) (structs.CategoryPreview, error) {
Viewers: int(data.Get("node.viewersCount").Int()), Viewers: int(data.Get("node.viewersCount").Int()),
CreatedAt: data.Get("node.originalReleaseDate").Time(), CreatedAt: data.Get("node.originalReleaseDate").Time(),
Tags: parsedTags, Tags: parsedTags,
Cursor: data.Get("node.cursor").String(), Cursor: data.Get("cursor").String(),
Image: extractor.ProxyUrl(data.Get("node.avatarURL").String()), Image: extractor.ProxyUrl(data.Get("node.avatarURL").String()),
}, nil }, nil
} }