1
0

chore(api tokens): remove updated date from tokens as it can't be updated anyway

This commit is contained in:
kolaente
2023-09-01 11:16:36 +02:00
parent 8f3d18a809
commit e3c5a93f4f
4 changed files with 2 additions and 8 deletions

View File

@ -51,8 +51,6 @@ type APIToken struct {
// A timestamp when this api key was created. You cannot change this value.
Created time.Time `xorm:"created not null" json:"created"`
// A timestamp when this api key was last updated. You cannot change this value.
Updated time.Time `xorm:"updated not null" json:"updated"`
OwnerID int64 `xorm:"bigint not null" json:"-"`