mirror of
https://gitlab.com/foxixus/neomovies-api.git
synced 2025-10-28 09:58:50 +05:00
Add Google OAuth
This commit is contained in:
@@ -20,6 +20,8 @@ type User struct {
|
||||
AdminVerified bool `json:"adminVerified" bson:"adminVerified"`
|
||||
CreatedAt time.Time `json:"created_at" bson:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updated_at" bson:"updatedAt"`
|
||||
Provider string `json:"provider,omitempty" bson:"provider,omitempty"`
|
||||
GoogleID string `json:"googleId,omitempty" bson:"googleId,omitempty"`
|
||||
}
|
||||
|
||||
type LoginRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user