Version 5.1 - All the GraphQL #32
@ -104,7 +104,7 @@ final class AnimeListTransformer extends AbstractTransformer {
|
|||||||
'notes' => $item['notes'],
|
'notes' => $item['notes'],
|
||||||
'rewatching' => (bool) $item['reconsuming'],
|
'rewatching' => (bool) $item['reconsuming'],
|
||||||
'rewatched' => (int) $item['reconsumeCount'],
|
'rewatched' => (int) $item['reconsumeCount'],
|
||||||
'user_rating' => $rating,
|
'user_rating' => (is_string($rating)) ? $rating : (int) $rating,
|
||||||
'private' => $item['private'] ?? FALSE,
|
'private' => $item['private'] ?? FALSE,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user