You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Some of the request structs have improper JSON annotation.
📌 Additional context
Reference: #93
The text was updated successfully, but these errors were encountered: