mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
feat(api): added more include paths to artist schema (#593)
This commit is contained in:
@@ -69,6 +69,8 @@ class ArtistSchema extends EloquentSchema implements InteractsWithPivots, Search
|
||||
new AllowedInclude(new ThemeSchema(), Artist::RELATION_ANIMETHEMES),
|
||||
|
||||
// Undocumented paths needed for client builds
|
||||
new AllowedInclude(new ArtistSchema(), 'groups.songs.artists'),
|
||||
new AllowedInclude(new ImageSchema(), 'groups.songs.animethemes.anime.images'),
|
||||
new AllowedInclude(new ArtistSchema(), 'songs.artists'),
|
||||
new AllowedInclude(new SongSchema(), 'songs.animethemes.song'),
|
||||
new AllowedInclude(new ArtistSchema(), 'songs.animethemes.song.artists'),
|
||||
|
||||
Reference in New Issue
Block a user