UpdateApplicationTokenLastUsed updates the last used time of the application token.
(token string, t *time.Time)
| 77 | |
| 78 | // UpdateApplicationTokenLastUsed updates the last used time of the application token. |
| 79 | func (d *GormDatabase) UpdateApplicationTokenLastUsed(token string, t *time.Time) error { |
| 80 | return d.DB.Model(&model.Application{}).Where("token = ?", token).Update("last_used", t).Error |
| 81 | } |
nothing calls this directly
no outgoing calls
no test coverage detected