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
The Block model used for REST API responses needs an update. Currently, the Expandable field is always included in the response, even when it is nil.
To improve response cleanliness and efficiency, the omitempty tag should be added to the Expandable field. This ensures that the field is omitted from the JSON output when it has a nil value.
The text was updated successfully, but these errors were encountered:
The
Block
model used forREST API
responses needs an update. Currently, theExpandable
field is always included in the response, even when it isnil
.To improve response cleanliness and efficiency, the
omitempty
tag should be added to theExpandable
field. This ensures that the field is omitted from theJSON
output when it has anil
value.The text was updated successfully, but these errors were encountered: