Changed type of Contact.UserId
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
package contact
|
package contact
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/google/uuid"
|
||||||
|
)
|
||||||
|
|
||||||
type Contact struct {
|
type Contact struct {
|
||||||
PhoneNumber string `json:"phone_number,omitempty"`
|
PhoneNumber string `json:"phone_number,omitempty"`
|
||||||
UserId string `json:"user_id,omitempty"`
|
UserId uuid.UUID `json:"user_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user