Improved API privacy
This commit is contained in:
@ -5,3 +5,8 @@ type GoogleToUser struct {
|
||||
ID string `json:"id" primary:"true"`
|
||||
UserID UserID `json:"userId"`
|
||||
}
|
||||
|
||||
// GetID returns the ID.
|
||||
func (mapping *GoogleToUser) GetID() string {
|
||||
return mapping.ID
|
||||
}
|
||||
|
Reference in New Issue
Block a user