UpdateClientTokensLastUsed updates the last used timestamp of clients.
(tokens []string, t *time.Time)
| 60 | |
| 61 | // UpdateClientTokensLastUsed updates the last used timestamp of clients. |
| 62 | func (d *GormDatabase) UpdateClientTokensLastUsed(tokens []string, t *time.Time) error { |
| 63 | return d.DB.Model(&model.Client{}).Where("token IN (?)", tokens).Update("last_used", t).Error |
| 64 | } |
nothing calls this directly
no outgoing calls
no test coverage detected