Hello, sorry for the possible inconvenience but I noticed while doing
tests that the `Relation` model had an error in the decoded JSON part.
This small patch renames the three JSON tags concerned with the correct
corresponding ones.
If you wanted to check for yourself that the MusicBrainz JSON does not
contain `s` for `attribute-ids`, `attribute-values` and `attribute-
credits`.
Here is an example link
https://musicbrainz.org/ws/2/recording/bf6520b5-f437-4736-9f29-f5dee53adc5e?inc=artist-
rels&fmt=json
Thank you for reading
Sincerely Gungun974
Gungun974 (1):
Fix wrong Relation model Attributes parsing
models.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--
2.45.2
go-musicbrainzws2/patches/.build.yml: FAILED in 13s
[Bad parsing of the Relation model returned by the API][0] from [~gungun974][1]
[0]: https://lists.sr.ht/~phw/musicbrainz/patches/55228
[1]: mailto:xfelix@me.com
✗ #1339095 FAILED go-musicbrainzws2/patches/.build.yml https://builds.sr.ht/~phw/job/1339095
go-musicbrainzws2/patches/.build.yml: FAILED in 13s
[Bad parsing of the Relation model returned by the API][0] from [~gungun974][1]
[0]: https://lists.sr.ht/~phw/musicbrainz/patches/55228
[1]: mailto:xfelix@me.com
✗ #1339095 FAILED go-musicbrainzws2/patches/.build.yml https://builds.sr.ht/~phw/job/1339095