Describe the bug
Some of the requests have missing omitempty annotations, because of that, the request will contain the field with default value (empty string or 0) and Misskey will handle them as requested value and not as an optional field.
đ Expected behavior
All request structs have proper JSON annotation.
âšī¸ Actual Behavior
Some of the request structs have improper JSON annotation.
Describe the bug Some of the requests have missing
omitempty
annotations, because of that, the request will contain the field with default value (empty string or0
) and Misskey will handle them as requested value and not as an optional field.đ Expected behavior All request structs have proper JSON annotation.
âšī¸ Actual Behavior Some of the request structs have improper JSON annotation.
đ Additional context Reference: https://github.com/yitsushi/go-misskey/pull/93