Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change type of Name in CollectionMeta from int to string #83

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

piratf
Copy link
Contributor

@piratf piratf commented Oct 7, 2024

fix error: json: cannot unmarshal string into Go struct field CollectionMeta.data.meta.name of type int

我在尝试使用合集接口时,发现 CollectionMeta 结构中的 Name 字段是 int 类型,导致了上述报错。我将 Name 字段调整为 string 类型,请 review。

…son: cannot unmarshal string into Go struct field CollectionMeta.data.meta.name of type int
@piratf piratf changed the title change type of Name in CollectionMeta from int to string Change type of Name in CollectionMeta from int to string Oct 7, 2024
@CuteReimu CuteReimu merged commit 6e3dd0f into CuteReimu:master Oct 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants