Skip to content

Commit

Permalink
Added auth provider field
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Apr 1, 2021
1 parent 1a909fc commit 0bb69bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion definitions.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type APIEnvironment string
const (

// defaultUserAgent is the default user agent for all requests
defaultUserAgent string = "go-tonicpow: v0.4.70"
defaultUserAgent string = "go-tonicpow: v0.4.71"

// Field key names for various model requests
fieldAdvertiserProfileID = "advertiser_profile_id"
Expand Down Expand Up @@ -552,6 +552,7 @@ type User struct {

// UserExists is a slim record of the User model
type UserExists struct {
Auth string `json:"auth"`
HasEmail bool `json:"has_email"`
HasPassword bool `json:"has_password"`
ID uint64 `json:"id"`
Expand Down

0 comments on commit 0bb69bd

Please sign in to comment.