Make UUID in JsonAddress optional
This commit is contained in:
parent
97a6747924
commit
9248417773
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ package v1
|
|||
|
||||
// JsonAddress is a signal user's contact information. a phone number, UUID or both
|
||||
type JsonAddress struct {
|
||||
UUID string `json:"uuid"`
|
||||
UUID string `json:"uuid,omitempty"`
|
||||
Number string `json:"number"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue