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
[PATCH go-musicbrainzws2 1/1] Fix wrong Relation model Attributes parsing
Am 28.09.24 um 09:10 schrieb ~gungun974:
> Hello, sorry for the possible inconvenience but I noticed while doing> tests that the `Relation` model had an error in the decoded JSON part.
Thank you very much for the patch. Looks like some copy and paste gone
wrong. I have applied your patch and tagged a new release.
Philipp