1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

feat: relay heartbeats to wakatime (resolve #28)

This commit is contained in:
Ferdinand Mütsch
2021-01-21 22:17:32 +01:00
parent d57c02af7c
commit 189a09d91f
4 changed files with 105 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ type User struct {
CreatedAt CustomTime `gorm:"type:timestamp; default:CURRENT_TIMESTAMP"`
LastLoggedInAt CustomTime `gorm:"type:timestamp; default:CURRENT_TIMESTAMP"`
BadgesEnabled bool `json:"-" gorm:"default:false; type:bool"`
WakatimeApiKey string `json:"-"`
}
type Login struct {