Skip to content

Commit

Permalink
feat: enable leaderboard by default
Browse files Browse the repository at this point in the history
  • Loading branch information
taciturnaxolotl committed Sep 19, 2024
1 parent 5c86d8b commit aa0fe0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type User struct {
WakatimeApiUrl string `json:"-"` // for relay middleware and imports
ResetToken string `json:"-"`
ReportsWeekly bool `json:"-" gorm:"default:false; type:bool"`
PublicLeaderboard bool `json:"-" gorm:"default:false; type:bool"`
PublicLeaderboard bool `json:"-" gorm:"default:true; type:bool"`
SubscribedUntil *CustomTime `json:"-" swaggertype:"string" format:"date" example:"2006-01-02 15:04:05.000"`
SubscriptionRenewal *CustomTime `json:"-" swaggertype:"string" format:"date" example:"2006-01-02 15:04:05.000"`
StripeCustomerId string `json:"-"`
Expand Down

0 comments on commit aa0fe0a

Please sign in to comment.