Send and receive SMS messages using your Android phone programmatically via a simple HTTP API
fix(api): restore contact property serialization
Acho Arnold Ewin583397f74f2c
diff --git a/api/pkg/entities/contact.go b/api/pkg/entities/contact.goindex d2733218..a6c38d7b 100644--- a/api/pkg/entities/contact.go+++ b/api/pkg/entities/contact.go@@ -16,8 +16,10 @@ const EntityNameContact = "Contact"// ContactProperties is a free-form key/value map persisted as a jsonb column.type ContactProperties map[string]string+var _ driver.Valuer = ContactProperties{}+// Value implements driver.Valuer, serializing the map to JSON bytes.-func (p *ContactProperties) Value() (driver.Value, error) {+func (p ContactProperties) Value() (driver.Value, error) {if p == nil {return []byte("{}"), nil}