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

fix panic while unmarshaling into object.BaseLinkRating #256

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

RenCurs
Copy link
Contributor

@RenCurs RenCurs commented Jul 13, 2023

Field reviews_count has incorrect data type because it float not int

@SevereCloud
Copy link
Owner

Привет, расскажи как воспроизвести

@yulai46
Copy link

yulai46 commented Aug 20, 2023

Привет @SevereCloud , у меня всплыл этот же баг, при вызове апи messages.getHistory, в ответе были сообщения с attachments c type: link, где в ratings поле reviews_count был float
"rating": { "stars": 5.000000, "reviews_count": 1.000000 }

@SevereCloud SevereCloud merged commit b2ba2c4 into SevereCloud:master Oct 3, 2023
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.

3 participants