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
I have a problem with setting ForegroundShow to false. Because of the omitempty tag in the definition the variable is not presented in the final json structure sent to the push api:
I have a problem with setting ForegroundShow to false. Because of the omitempty tag in the definition the variable is not presented in the final json structure sent to the push api:
ForegroundShow bool json:"foreground_show,omitempty"
I suggest changing all bool values to bool pointer type *bool:
ForegroundShow *bool json:"foreground_show,omitempty"
It shoud work as expected:
The text was updated successfully, but these errors were encountered: