Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
Showing only changes of commit ff4e1ee471 - Show all commits

View File

@ -104,7 +104,7 @@ final class AnimeListTransformer extends AbstractTransformer {
'notes' => $item['notes'],
'rewatching' => (bool) $item['reconsuming'],
'rewatched' => (int) $item['reconsumeCount'],
'user_rating' => $rating,
'user_rating' => (is_string($rating)) ? $rating : (int) $rating,
'private' => $item['private'] ?? FALSE,
]);
}