refactoring
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
|
||||
type Account struct {
|
||||
ID string `json:"id"`
|
||||
Email string `json:"email"`
|
||||
FirstName string `json:"firstName,omitempty"`
|
||||
LastName string `json:"lastName,omitempty"`
|
||||
VerifiedIdentity *bool `json:"verifiedIdentity,omitempty"`
|
||||
@@ -15,6 +16,12 @@ type Account struct {
|
||||
LocalCredentials
|
||||
}
|
||||
|
||||
type User struct {
|
||||
ID string `json:"user_id"`
|
||||
Status string `json:"status"`
|
||||
BookingID string `json:"booking_id"`
|
||||
}
|
||||
|
||||
type LocalCredentials struct {
|
||||
Email string
|
||||
EmailVerified bool
|
||||
|
||||
Reference in New Issue
Block a user