Skip to content

Commit

Permalink
Keep removing sync 1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Vázquez Acosta committed Mar 29, 2024
1 parent 0422e89 commit d1139ef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,11 @@ type UserToken struct {
type SyncVersion int

const (
Version10 SyncVersion = 10
Version15 SyncVersion = 15
)

func (s SyncVersion) String() string {
switch s {
case Version10:
return "1.0"
case Version15:
return "1.5"
default:
Expand All @@ -72,7 +69,7 @@ func ParseToken(userToken string) (token *UserInfo, err error) {

token = &UserInfo{
User: claims.Auth0.Email,
SyncVersion: Version10,
SyncVersion: Version15,
}

scopes := strings.Fields(claims.Scopes)
Expand Down

0 comments on commit d1139ef

Please sign in to comment.