1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 08:35:57 +01:00

Add missing omitempty to group description.

This commit is contained in:
Juliusz Chroboczek 2024-01-07 00:26:36 +01:00
parent ad6db4c71b
commit 9f3bee8e37

View file

@ -982,13 +982,13 @@ type Description struct {
Other []ClientPattern `json:"other,omitempty"` Other []ClientPattern `json:"other,omitempty"`
// The (public) keys used for token authentication. // The (public) keys used for token authentication.
AuthKeys []map[string]interface{} `json:"authKeys"` AuthKeys []map[string]interface{} `json:"authKeys,omitempty"`
// The URL of the authentication server, if any. // The URL of the authentication server, if any.
AuthServer string `json:"authServer"` AuthServer string `json:"authServer,omitempty"`
// The URL of the authentication portal, if any. // The URL of the authentication portal, if any.
AuthPortal string `json:"authPortal"` AuthPortal string `json:"authPortal,omitempty"`
// Codec preferences. If empty, a suitable default is chosen in // Codec preferences. If empty, a suitable default is chosen in
// the APIFromNames function. // the APIFromNames function.